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.

Dependents (0)

Package Sidebar

Install

npm i number-to-currency

Weekly Downloads

7

Version

1.0.3

License

MIT

Unpacked Size

2 kB

Total Files

3

Last publish

Collaborators

  • wavefly