JavaScript general use string formatters


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
8724Jul 16, 2021Feb 26, 2018Minified + gzip package size for @sb1/ffe-formatters in KB



JavaScript general use string formatters.


Install this package via npm like so:

npm install --save @sb1/ffe-formatters


Import the formatter(s) you need the following way:

import formatNumber from '@sb1/ffe-formatters/lib/formatNumber';
import formatPercentage from '@sb1/ffe-formatters/lib/formatPercentage';

You'll find a full overview and documentation over all the available formatters in src/.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.