JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q29130F
  • License ISC

convert currency or any numbers to corresponding words, eg: 1 -> "one", 10 -> "ten", 101 -> "one hundred and one" etc...

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (currency-in-words) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    currency-in-words

    Convert currency or any number formats to respective words


    For local installation and testing

    cd package
    npm link
    cd ../
    mkdir test-folder
    cd test-folder
    npm link currency-in-words
    touch script.js

    script.js

    const convert = require('currency-in-words')
    
    console.log('test 5', convert('5'))