ng-unit-pipe

    0.0.1 • Public • Published

    ng-unit-pipe

    Unit conversion pipe for Angular based on math.js library

    Installation

    1. Use npm to install the package
    $ npm install ng-unit-pipe --save 
    1. You must add into your module imports the UnitPipeModule in order to add the pipe.
    import {UnitPipeModule} from 'ng-unit-pipe';
     
    @NgModule({
     // ...
     imports: [
       // ...
       UnitPipeModule
     ]
    })

    Conversion are based on Math.js : http://mathjs.org/docs/expressions/parsing.html#eval

    Install

    npm i ng-unit-pipe

    DownloadsWeekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • jderuere