1.0.4 • Published 2 years ago
numbers-with-commas v1.0.4
numberWithCommas
simple javascript package for numerical formmat
Install:
npm i numbers-with-commas
Usage:
react:
import numberWithCommas from "number-with-commmas";
<span>{numberWithCommas(123456)}</span>; // => 123,456
nodeJs:
const numberWithCommas = require("number-with-commmas");
numberWithCommas(123456); // => 123,456