@intocare/number-to-text

    0.1.1 • Public • Published

    @intocare/number-to-text

    Extra number-to-text translations

    Supported languages:

    • nl-be
    • fr-be

    Install

    npm install --save @intocare/number-to-text
    

    Usage

    You can either load specific languages

    const numberToText = require('number-to-text');
    require('@intocare/number-to-text/nl-be');
    
    numberToText.convertToText(10173, {language: 'nl-be'});
    //=> tienduizend honderddrieënzeventig

    Or you can load all languages

    const numberToText = require('number-to-text');
    require('@intocare/number-to-text');
    
    numberToText.convertToText(10173, {language: 'nl-be'});
    //=> tienduizend honderddrieënzeventig
    
    numberToText.convertToText(10173, {language: 'fr-be'});
    //=> dix mille cent septante-trois

    Related

    Install

    npm i @intocare/number-to-text

    DownloadsWeekly Downloads

    8

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    9.24 kB

    Total Files

    6

    Last publish

    Collaborators

    • zezke
    • samverschueren