@sb1/ffe-formatters

JavaScript general use string formatters

Stats

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

Readme

@sb1/ffe-formatters

JavaScript general use string formatters.

Installation

Install this package via npm like so:

npm install --save @sb1/ffe-formatters

Usage

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.