0.1.1 • Published 7 years ago

@pg-english/unit v0.1.1

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

@pg-english/unit

pg-english

Process measurement units in text, or tokens.

const unit = require('@pg-english/unit');
// unit.process(<tokens>)
// unit(<text>)
// -> processed text


unit('i have 40 attograms of food');
// i have 40 1e-18 of food

unit('ram ate four tonnes of custard apples');
// ram ate four 1000000 of custard apples
0.1.1

7 years ago

0.1.0

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago