currency-component

0.1.0 • Public • Published

currency

format a number to currency

Installation

Install with component(1):

$ component install yields/currency

API

currency(1000); // => "1,000.00"
currency("1,000.00"); // => 1000.00

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i currency-component

Weekly Downloads

0

Version

0.1.0

License

none

Last publish

Collaborators

  • yields