@ibyar/pipes
v2.5.0
Published
Ibyar pipes, build-in pipes for aurora lib, like json, translate, async, etc...
Downloads
159
Maintainers
Readme
Ibyar Pipes
Ibyar pipes, build-in pipes for aurora lib, like json, translate, async, etc...
Install
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>
Built-in Pipes ( Pipeline operator '|>' )
- [x] async
- [ ] date
- [x] lowercase
- [x] titlecase
- [x] uppercase
- [x] json
- [x] keyvalue
- [x] slice
- [ ] currency
- [ ] number
- [ ] percent
- [ ] i18nPlural
- [ ] i18nSelect