Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.