1.3.0 • Published 4 years ago

priceseparator v1.3.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

Price Separator

npm npm

small (3 lines) typesafe package to separate price digits with a custom separator !

Install 🚀

\$ npm i priceseparator

Usage 🔥

import {priceSeparator} from 'priceseparator';

priceseparator(25000000, ',');

result -> 25,000,000

Notes 📖

  • the default separator is ','
  • rewrited in typescript with better batter variables name and types
  • this is just for fun don't take it hard 😇
1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago