siffror.js

0.9.1 • Public • Published

siffror.js

Parse cardinal numbers in Swedish

Install

$ npm install siffror.js

Usage

    const s = require('siffor.js');
    const res = s.parse("åttahundraåttioåttatusenåttahundraåttioåtta");
    console.log(res);
    // > 888888

Limitations

Currently only positive integers are supported. Whitespace should be removed from the input string.

License

MIT

Author

Karl Larsaeus, karl@ninjacontrol.com

Package Sidebar

Install

npm i siffror.js

Weekly Downloads

0

Version

0.9.1

License

MIT

Unpacked Size

11.3 kB

Total Files

7

Last publish

Collaborators

  • karlll