0.9.1 • Published 5 years ago

siffror.js v0.9.1

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

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