@ibyar/pipes
TypeScript icon, indicating that this package has built-in type declarations

2.5.0 • Public • Published

Ibyar Pipes

NPM Version NPM Downloads LICENSE lerna GitHub contributors

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

Package Sidebar

Install

npm i @ibyar/pipes

Weekly Downloads

7

Version

2.5.0

License

MIT

Unpacked Size

96.5 kB

Total Files

57

Last publish

Collaborators

  • salem.ebo