1.0.3 • Published 2 years ago

number-to-currency v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

NumberToCurrency.js

NPM version NPM downloads MIT License

A Simple & lightweight JavaScript number to currency formatter library.

Installation

Using npm: $ npm i number-to-currency

Using yarn: $ yarn add number-to-currency

Usage

ES5

const formatter = require ("number-to-currency")

ES6

import formatter from "number-to-currency"

formatter(2000) -> 2,000

Project Status

NumberToCurrency.js is a legacy project. If you love ❤️ this library, feel free to contribute.

For more details and recommendations, please see Project Status in the docs.

Thank you. 🤗

License

NumberToCurrency.js is freely distributable under the terms of the MIT license.