UNPKG

npm

Version:

a package manager for JavaScript

56 lines (55 loc) 1.37 kB
{ "name": "byte-size", "author": "Lloyd Brookes <75pound@gmail.com>", "contributors": [ { "name": "Raul Perez", "email": "repejota@gmail.com", "url": "http://repejota.com" } ], "version": "7.0.1", "main": "dist/index.js", "license": "MIT", "engines": { "node": ">=10" }, "description": "Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.", "repository": "https://github.com/75lb/byte-size", "files": [ "index.mjs", "dist/index.js" ], "keywords": [ "convert", "bytes", "octet", "size", "human", "readable", "metric", "IEC" ], "scripts": { "test": "npm run dist && npm run test:esm && npm run test:web", "test:esm": "esm-runner test.mjs", "test:web": "web-runner test.mjs", "docs": "jsdoc2md -t README.hbs dist/index.js > README.md", "cover": "c8 npm test && c8 report --reporter=text-lcov | coveralls", "dist": "rollup -f umd -n byteSize -o dist/index.js index.mjs" }, "devDependencies": { "@test-runner/web": "^0.3.5", "coveralls": "^3.1.0", "esm-runner": "^0.3.4", "isomorphic-assert": "^0.1.1", "jsdoc-to-markdown": "^7.0.0", "rollup": "^2.40.0", "test-object-model": "^0.6.1" }, "standard": { "ignore": [ "dist" ] } }