1.0.6 • Published 4 years ago
react-number-names v1.0.6
React Number Names
Humanize long number in React and React Native
1000
→one thousand
Demo in Glitch
Install
$ npm install react-number-names
Usage
import React from 'react';
import NumberNames from 'react-number-names';
const App = () => (
<div>
<NumberNames number={1000} />
</div>
);
API
number={input}
Type: integer
or string
<NumberNames number={1000} />
// => 'one thousand'
License
MIT © Yoginth