Display money format and its filthy currencies, for all money lovers out there.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alireza Savand 8fb8d8a907 Initial ChangeLog.md 4 years ago
money_currencies More javascript styling 4 years ago
test Add testing 4 years ago
.gitignore Add .gitignore 4 years ago
.npmignore Add .npmignore file 4 years ago
.travis.yml Removed incompatible versions 4 years ago
ChangeLog.md Initial ChangeLog.md 4 years ago
LICENSE.md Update LICENSE.md 4 years ago
README.md Update README.md 4 years ago
package.json Bump version 4 years ago

README.md

Money Currencies Build Status 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

money-currencies has been tested on various version of Node.js, including:

  • 0.12
  • 0.11
  • 0.10
  • iojs
  • iojs-v1.0.4
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 © 2015 Alireza Savand, contributors.

Released under the MIT license.