{"name":"format-io","version":"1.0.2","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":"^2.0.6"},"license":"MIT","engines":{"node":">=4"},"main":"lib/format.js","devDependencies":{"@babel/cli":"^7.0.0-beta.49","@babel/core":"^7.0.0-beta.49","@babel/preset-env":"^7.0.0-beta.49","coveralls":"^3.0.1","eslint":"^4.19.1","eslint-plugin-node":"^6.0.1","mkdirp":"^0.5.1","nodemon":"^1.17.5","nyc":"^12.0.2","redrun":"^6.0.6","rimraf":"^2.6.2","tape":"^4.9.1"},"gitHead":"3ab256e28ef36884d9978e525979048daba78a3d","bugs":{"url":"https://github.com/coderaiser/format-io/issues"},"_id":"format-io@1.0.2","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-LEkkq7YjysqToiV5Ld4g1mwFWst8npbEPKKcRqWWWtKfEmUi6H2ucpuhlU8QB2ziIW2blQohqHTo9IfADHsoIA==","shasum":"783a127372f1515d3d73e2900faa530f03fc85b9","tarball":"http://registry-npm.ywwl.com/format-io/download/format-io-1.0.2.tgz","fileCount":9,"unpackedSize":11878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIlp5CRA9TVsSAnZWagAAwg0P/1hPtKrB8ygMkEW/XUF2\nVcEx58U2mXJJUvzehhUpg0QLeIDyCHFR+a3X/T3Gx6zNuuYe3DtscM7RYt/6\nNHu6Q07Ifaytb+OwTh4Krsi/1EQcM1suKqtTRkTpwrznbx7iQVp3fogtvQql\niS4npIK0WyBAdJl5T2PPjMyz7w7oppfcjOc5Ml1Zcnj7QZZRsqgGsc14p0/G\nMvoyWD5hZZKt5DOnEIJ1bg+wOqSDiTkK0QjgP/BWI81mKXQwWJjAyFRI8w9W\nlVEhHD2YZUMnttN+LwU6kcjdSqx/OxrzKLUfVbwvLpE9UsAIrnM4lz6rpRVI\naPyIRZjnTMZB0B3W6RNa1Wx5lQFUQeHXbPc5FpZIp7MB5QL3E08NWmXV3lfe\n1cO9GXB5zY+RVpJbrUICVMeJscSnnd3LjAbsC6VWgJ41QYSMd+gp6hASXcCo\nxuaOOP/hza+81rMMpToLXrLWIwmtACc7O+mosgAQlWnXkJIDV9rJDVP8BU3q\nkHq0CVlYiwe4JdKbTicz0OLakEM1S16Ndywva9O4VwBbq/Q/+XFhmGp2fpms\n9UF89hbGKMsu0jNry6E878ZYX5666KH3+Wer83hDMdVaFOmxFCl07PwVplaa\nkDozZlGvppjjM76+snq/XC4OVu8amOM6sGK41vSdntY9CspDb4KCXGUyoyGI\nqz+u\r\n=QBvU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICABfRCTJUpKTjPgQTJm1wKPTMD9RPydgMTJy7ZAl32tAiEAv74nNtVO3Y/dfnAnaORl9n6wX2aTU6apRjhR1IfMQ0c="}],"size":4059,"noattachment":false,"key":"/format-io/-/format-io-1.0.2.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-io_1.0.2_1528978041313_0.17177380791180297"},"_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":1528978041385,"_cnpm_publish_time":1528978041385,"dist-tags":{"latest":"2.0.0"}}