number-to-currency

1.0.3ย โ€ขย Publicย โ€ขย Published

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.

Package Sidebar

Install

npm i number-to-currency

Weekly Downloads

11

Version

1.0.3

License

MIT

Unpacked Size

2 kB

Total Files

3

Last publish

Collaborators

  • wavefly