2015.3.31 • Published 10 years ago

money-currencies v2015.3.31

Weekly downloads
8
License
-
Repository
github
Last release
10 years ago

rss Build Status money-currencies

Money Currencies

Display money format and its filthy currencies, for all money lovers out there.

Installation

npm install money-currencies --save

Usage

var MoneyCurrency = require('money-currencies');

mc = new MoneyCurrency('USD');
console.log(mc.moneyFormat(13)) // $13
console.log(mc.moneyWithCurrencyFormat(13)) // $13 USD

Tests

npm test

Contributing

Contributions to the project are welcome. Feel free to fork and improve. I do my best accept pull requests in a timely manor, especially when tests and updated docs are included.

License

Copyright (c) 2015 Alireza Savand, contributors.

Released under the MIT license.