Module @ibyar/pipes - v3.1.0

Ibyar Pipes

NPM Version NPM Downloads LICENSE lerna GitHub contributors

Ibyar pipes, build-in pipes for aurora lib, like json, translate, async, etc...

npm i --save @ibyar/pipes
yarn add @ibyar/pipes

How to use:

in your html string/file :

<div>{{observable |> async}}</div>
<div>{{text |> lowercase}}</div>
<div>{{obj |> json}}</div>
<pre>{{obj |> json:undefined:2}}</pre>
<div>{{keyValueObject |> keyvalue |> json}}</div>
  • [x] async
  • [ ] date
  • [x] lowercase
  • [x] titlecase
  • [x] uppercase
  • [x] json
  • [x] keyvalue
  • [x] slice
  • [ ] currency
  • [ ] number
  • [ ] percent
  • [ ] i18nPlural
  • [ ] i18nSelect

Classes

AsyncPipe
AsyncRelativeTimeFormatPipe
ChunkPipe
DiffPipe
EveryPipe
JSONPipe
KeyValuePipe
LowerCasePipe
SlicePipe
TitleCasePipe
ToJSONPipe
UpperCasePipe

Interfaces

KeyValue

Type Aliases

CompareFn