Add suffix to numbers (metric)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.babelrc
.gitignore
README.md
index.js
index.test.js
package.json
yarn.lock

README.md

Numerical Suffix

This package is used to add metric suffixes to numbers.

Installation

npm install @auth0/numerical-suffix

Usage

ES2015+

import numericalSuffix from '@auth/numerical-suffix'

NodeJS / CommonJS

const numericalSuffix = require('auth0/numerical-suffix')

Examples

See test file for examples