0.0.1 • Published 7 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 --save
You must add into your module
imports
theUnitPipeModule
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
0.0.1
7 years ago