Commas
Add, Remove, Replace commas.
Installation
To install commas you need to use a node package manager as npm or yarn
$ npm install commas --save # YARN $ yarn add commas
Usage
See more in the example
folder
const cm = ; let n = wComma: "1,000,000" nComma: 1000000 n = cm;//=> 1000000 to "1000000"// return string n = cm;//=> "1,000,000" to 1000000// return number n = cm;//=> "1,000,000" to 1.000.000// return number