No description, website, or topics provided.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.jshintrc
.tern-project
component.json
license
readme.md

readme.md

abbr_number

based on Numeral.js

install

component install ramitos/abbr_number

api

var abbr = require('abbr_number')

abbr(1000) //=> 1k
abbr(1000000) //=> 1m
abbr(1000000000) //=> 1b
abbr(1000000000000) //=> 1t

license

MIT