0.0.1 • Published 9 years ago
ng-unit-pipe v0.0.1
ng-unit-pipe
Unit conversion pipe for Angular based on math.js library
Installation
Use npm to install the package
$ npm install ng-unit-pipe --saveYou must add into your module
importstheUnitPipeModulein 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
0.0.1
9 years ago