Skip to content
Angular2 pipe to convert camelCase strings to human readable strings
TypeScript JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example-project
src
.gitignore
README.md
index.ts
karma.conf.js
package.json
tsconfig.json

README.md

angular2-camelCase

Angular2 pipe to convert camelCase strings to human readable strings

Installation

Npm

npm install angular2-camelcase

Usage

import {CamelCaseHumanModule} from 'angular2-camelcase';

@NgModule({
  declarations: [
    CamelCaseHumanModule
  ],
  ....
  
  })
  

HTML

<h1>
{{'helloWorldHowAreYouDoingIamUpper' | camelCaseToHuman:true}}
</h1>

<h1>
{{'helloWorldHowAreYouDoingIamLower' | camelCaseToHuman:false}}
</h1>
You can’t perform that action at this time.