number-abbreviate
Version:
Abbreviate a number and add unit letters e.g. 2200000 => '2.2m'
31 lines (30 loc) • 798 B
JSON
{
"name": "number-abbreviate",
"version": "2.0.0",
"description": "Abbreviate a number and add unit letters e.g. 2200000 => '2.2m'",
"author": "Dom Harrington <dom@harrington-mail.com>",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/domharrington/js-number-abbreviate.git"
},
"scripts": {
"lint": "./node_modules/.bin/jshint .",
"pretest": "npm run-script lint",
"test": "./node_modules/.bin/_mocha -- -R spec -r should test.js",
"prepublish": "npm test && npm prune"
},
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"keywords": [
"number",
"number-abbreviate",
"abbreviate"
],
"license": "BSD-2-Clause",
"devDependencies": {
"mocha": "~1.14.0",
"jshint": "~2.3.0"
}
}