1.0.1 • Published 1 year ago
react-thousand-separator v1.0.1
react-thousand-separator
A very practical and light package ( 900 Byte ) to separate thousands of numbers :)
Usage / Examples :
import ThousandSeparator from 'react-thousand-separator'
const App = () => {
return <p>{ThousandSeparator(900000)}</p>; // 900,000
}
export default App;
Installation :
Install with npm :
npm i react-thousand-separator
Documentation :
Can be used in :
JavaScript, ECMAScript , React , Next & ..