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

0.0.5 • Public • Published

Pipes

Below is a list of pipes in this package and a demonstration of their usage

name sample markup result
currency `29.9 currency`
mergeUnique `[['a', 'b'], ['b', 'c']] mergeUnique`
objectKeys `{ name: 'Jeff', age: 25 } objectKeys`
safe `<a [href]='"https://google.com" safe'>https://google.com`
sanitizeHtml `<div [innerHtml]="'<script>alert('injection attack')</script> user content' sanitizeHtml">`
sentenceCase `'this is sentence case' sentenceCase`
titleCase `'this is title case' titleCase`

Readme

Keywords

none

Package Sidebar

Install

npm i @diy-kitchens/pipes

Weekly Downloads

5

Version

0.0.5

License

none

Unpacked Size

133 kB

Total Files

44

Last publish

Collaborators

  • ultima-furniture