Skip to content

Commit

Permalink
Add LeftPad and RightPad pipes to Module
Browse files Browse the repository at this point in the history
  • Loading branch information
danrevah committed Dec 29, 2016
1 parent 9907eee commit 4d290f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng2-pipes",
"version": "1.0.0",
"version": "1.1.0",
"author": "Dan Revah",
"description": "Useful angular2 pipes",
"license": "MIT",
Expand Down
6 changes: 5 additions & 1 deletion src/app/pipes/string/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ import {LinesPipe} from './lines';
import {UnderscorePipe} from './underscore';
import {MatchPipe} from './match';
import {TestPipe} from './test';
import {LeftPadPipe} from './lpad';
import {RightPadPipe} from './rpad';

export const STRING_PIPES = [
LeftTrimPipe, RepeatPipe, RightTrimPipe, ScanPipe, ShortenPipe,
StripTagsPipe, TrimPipe, UcFirstPipe, UcWordsPipe, SlugifyPipe,
CamelizePipe, LatinisePipe, LinesPipe, UnderscorePipe, MatchPipe,
TestPipe
TestPipe, LeftPadPipe, RightPadPipe
];

@NgModule({
Expand All @@ -46,3 +48,5 @@ export * from './lines';
export * from './underscore';
export * from './match';
export * from './test';
export * from './lpad';
export * from './rpad';

0 comments on commit 4d290f8

Please sign in to comment.