0.1.7 • Published 5 years ago

@urbaninfrastructure/currency-formatter v0.1.7

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
5 years ago

Currency formatting for urbansharing clients

Usage

const formatCurrency = require("@urbaninfrastructure/currency-formatter");

formatCurrency(100, { currency: "NOK" }); // => "NOK 100"
formatCurrency(100, { currency: "NOK", locale: "nb" }); // => "100 kr"

For more examples, see /__tests_/currency-formatter.js

Test

yarn
yarn test
0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago