React component for fancy number transitions.
npm install react-number-easing --savevar NumberEasing = require('react-number-easing');
<NumberEasing
value={15}
speed={300}
ease='quintInOut' />value: The value that you want to display at the end of the animation.[speed]: How fast do you want to finish the animation? Defaults to 500ms.[useLocaleString]: Should usetoLocaleString()?[ease]: The easing equation for the animation. Defaults toquintInOut. You can choose from mattdesl/eases.
If you want to build this from source, you will need babel and less.
npm install -g babel lessAnd run the pre publish script
npm run prepublish