{"name":"format-io","version":"1.0.3","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"Format size, permissions","homepage":"http://github.com/coderaiser/format-io","repository":{"type":"git","url":"git://github.com/coderaiser/format-io.git"},"keywords":["format","size","permissions"],"scripts":{"wisdom":"npm run build","lint":"redrun lint:*","lint:lib":"eslint lib","lint:test":"eslint -c .eslintrc.test --no-eslintrc test","test":"tape 'test/**/*.js'","build":"redrun clean mkdir 6to5 legacy:*","6to5":"babel -d legacy/lib lib","clean":"rimraf legacy","mkdir":"mkdirp legacy","legacy:index":"echo \"module.exports = require('./lib/format');\" > legacy/index.js","report":"nyc report --reporter=text-lcov | coveralls","coverage":"nyc npm test","watcher":"nodemon -w test -w lib --exec","watch:test":"npm run watcher -- npm test","watch:lint":"npm run watcher -- 'npm run lint'"},"dependencies":{"currify":"^3.0.0"},"license":"MIT","engines":{"node":">=4"},"main":"lib/format.js","devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","coveralls":"^3.0.1","eslint":"^5.6.1","eslint-plugin-node":"^7.0.1","mkdirp":"^0.5.1","nodemon":"^1.17.5","nyc":"^13.0.1","redrun":"^7.0.2","rimraf":"^2.6.2","tape":"^4.9.1"},"gitHead":"89e65b950cd5779de98b40250a08b938eff62a95","bugs":{"url":"https://github.com/coderaiser/format-io/issues"},"_id":"format-io@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-pvhpU75XNwBElVZ+LBZ/gIIhmmtgKBhwo2Lwo/nmyLKQ2uDktbyvO3V/iOvZUzSlN+n0pEv9wnfyLe2fBySIXg==","shasum":"e63391b567fe348bccac138c796011569b343150","tarball":"http://registry-npm.ywwl.com/format-io/download/format-io-1.0.3.tgz","fileCount":9,"unpackedSize":12025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvcDrCRA9TVsSAnZWagAAO9kP/2bc5KT3Q6oyvcwI2ejb\nTONaNwDxbIpbEI+W2f7s0dZTBIPesHkzJSZM7z3yhSiWJI7q/z3vcjz3f7zf\navDIWDagHXhZJkAYN4aoiqBf9Cr3faWcaRgLrCMupfK3vwb5J0DFMjPtDLYz\nLuBjT7n+6yZiLAuxTzxga8WtJ7Eyad1UUMINjyswgrxvhgiYS6LOhoia/+7K\nf7t3dUiNHoK3LQiskhAs0VITP8Rfr+c/eat6v5Wz+YoBcrLrLqF9bie4nvKd\nBP+w0UMhbnsk3DCmXxa/D4hww792dt3tWRz/y26CE1TaP2pn5dwhIuxqFJgr\nIpv2okd2H5rCB2ydMwgEdyMd36fwaRDEs2AiDtGU0PWM7BGgNBhz++/kbIWP\nIuhwpbcpNo1XMLKosPMhuRW1QCqzszIYfGZRNkwHybmSHzrqAsvE1/bDF5Ud\nJWjXbFzGE/1yIkwWmXYHgdIcEK9LwCY8+VP1wRVS8gwDTOKDrL3CmxDWE8FV\nqwEMw7Yztbi4pfb/rIK2S+eaNshE+S5PKD3FtubZ3dKX5nV65eilhzYkPcWu\nrzwUfmzF1DRI1seWm/HqVceG1pHQrEz3Xmj7Nd4veo++jSAy8dmtpcmuxK2b\nvYf0RfSbJIqulkHPI7EGvtrwqMwdjpjcC1QfFH8nWbRLqxGKNlBKxaNy+JhL\nKRU4\r\n=dSq1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAgDoCFDzDjGOhiY+GScxFTxMGopoZL2WME7OipJuOgRAiBjUCx9u7P2dd4zC7g2TKWkf2DaWzt5pdv/2fOrht/59g=="}],"size":4093,"noattachment":false,"key":"/format-io/-/format-io-1.0.3.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-io_1.0.3_1539162346388_0.693082386271479"},"_hasShrinkwrap":false,"readme":"# Format [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]\n\nFormat size, permissions, etc.\n\n# How to use?\n\nFormat could be used in browser or node.\n\n```js\nconst format = require('format-io');\n```\n\n# API\n\n## size\n\n```js\nconst size = 1024 * 1024 * 5;\nformat.size(size);\n// returns\n'5.00mb'\n```\n\n## permissions.symbolic\n\n```js\nconst perm = '00777';\nformat.permissions.symbolic(perm);\n// returns\n'rwx rwx rwx'\n```\n\n## permissions.numeric\n\n```js\nconst perm = 'rwx rwx rwx';\nformat.permissions.numeric(perm);\n// returns\n'00777'\n```\n\n# License\n\nMIT\n\n[NPMIMGURL]:                https://img.shields.io/npm/v/format-io.svg?style=flat\n[BuildStatusIMGURL]:        https://img.shields.io/travis/coderaiser/format-io/master.svg?style=flat\n[DependencyStatusIMGURL]:   https://img.shields.io/david/coderaiser/format-io.svg?style=flat\n[LicenseIMGURL]:            https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat\n[NPMURL]:                   https://npmjs.org/package/format-io \"npm\"\n[BuildStatusURL]:           https://travis-ci.org/coderaiser/format-io  \"Build Status\"\n[DependencyStatusURL]:      https://david-dm.org/coderaiser/format-io \"Dependency Status\"\n[LicenseURL]:               https://tldrlegal.com/license/mit-license \"MIT License\"\n\n[CoverageURL]:              https://coveralls.io/github/coderaiser/format-io?branch=master\n[CoverageIMGURL]:           https://coveralls.io/repos/coderaiser/format-io/badge.svg?branch=master&service=github\n\n","publish_time":1539162346570,"_cnpm_publish_time":1539162346570,"dist-tags":{"latest":"2.0.0"}}