UNPKG

comma-number

Version:

Format a number with commas or custom character

48 lines (47 loc) 1.32 kB
{ "name": "comma-number", "version": "2.1.0", "description": "Format a number with commas or custom character", "main": "index.js", "files": [ "index.js" ], "scripts": { "test": "tap test.js", "test10": "nave use 10 tap --no-coverage test.js", "test12": "nave use 12 tap --no-coverage test.js", "test14": "nave use 14 tap --no-coverage test.js", "tests": "npm run test10 && npm run test12 && npm run test14", "benchmark": "node benchmark/index.js", "coverage": "npm run tests && tap --coverage-report=lcovonly test.js && cat coverage/lcov.info | coveralls", "coverage-clean": "rm -rf ./coverage ./.nyc_output" }, "repository": { "type": "git", "url": "git+https://github.com/elidoran/comma-number.git" }, "keywords": [ "number", "format", "comma" ], "author": { "name": "Eli Doran", "email": "eli+npm@elidoran.com", "url": "https://github.com/elidoran" }, "license": "MIT", "bugs": { "url": "https://github.com/elidoran/comma-number/issues" }, "homepage": "https://github.com/elidoran/comma-number#readme", "devDependencies": { "benchmark": "^2.1.4", "console.table": "^0.10.0", "coveralls": "^3.1.0", "nave": "^3.2.2", "pad": "^3.2.0", "tap": "^15.0.5" }, "dependencies": {} }