Nonflavored Prescription Medicine

    number-name

    0.1.5 • Public • Published

    Number Name

    A library to convert numbers to their English names.

    Setup Instructions

    In the Browser

    To use the Number Name Library in your project, download number-name.js or number-name.min.js from GitHub and include it in your HTML file.

    <script src="number-name.js"></script>

    Alternatively, you can hotlink the online file.

    <script src="https://rawgithub.com/fasttime/Number-Name/master/lib/number-name.min.js"></script>

    Usage

    var name = numberName(12345);
    // twelve thousand three hundred forty-five
    var name = numberName(-Math.PI);
    // minus three point one four one five nine two six five three five eight nine seven nine
    var name = numberName(1e42);
    // one tredecillion

    This is a preliminary documentation and may be subject to change at any time.

    Install

    npm i number-name

    DownloadsWeekly Downloads

    1

    Version

    0.1.5

    License

    ISC

    Last publish

    Collaborators

    • fasttime