From 04436deb1e435119ab25dfaf2e70ef1379b11d38 Mon Sep 17 00:00:00 2001 From: danrevah Date: Thu, 29 Dec 2016 11:33:18 +0200 Subject: [PATCH] Add LeftPad and RightPad pipes to Module --- package.json | 2 +- src/app/pipes/string/index.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2117d6bb..33a58043 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ng2-pipes", - "version": "1.0.0", + "version": "1.1.0", "author": "Dan Revah", "description": "Useful angular2 pipes", "license": "MIT", diff --git a/src/app/pipes/string/index.ts b/src/app/pipes/string/index.ts index eceb523a..88ad9a8d 100644 --- a/src/app/pipes/string/index.ts +++ b/src/app/pipes/string/index.ts @@ -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({ @@ -46,3 +48,5 @@ export * from './lines'; export * from './underscore'; export * from './match'; export * from './test'; +export * from './lpad'; +export * from './rpad';