{"title":"Is Text or Binary?","name":"istextorbinary","version":"2.6.0","description":"Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.","homepage":"https://github.com/bevry/istextorbinary","license":"MIT","keywords":["bin","binary","check","detect","encoding","ext","extension","extensions","file","is binary file","is binary","is text file","is text or binary file","is text or binary","is text","is","isbinary","isbinaryfile","istext","istextfile","path","text"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"},{"email":"mike@mdm.cc","name":"mikeumus"},{"email":"robloach@gmail.com","name":"robloach"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Shinnosuke Watanabe","email":"snnskwtnb@gmail.com","url":"http://shinnn.github.io"},{"name":"Ian Sibner","email":"sibnerian@gmail.com","url":"http://www.sibnerian.com/"},{"name":"Sean","email":"sean@albinodrought.com","url":"http://albinodrought.com/"},{"name":"dependabot[bot]","url":"http://github.com/apps/dependabot"},{"name":"shinnn","url":"http://qiita.com/shinnn"}],"bugs":{"url":"https://github.com/bevry/istextorbinary/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/istextorbinary.git"},"engines":{"node":">=0.12"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 13","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}},{"description":"esnext compiled for node.js 0.12 with require for modules","directory":"edition-node-0.12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"0.12 || 4 || 6 || 8 || 10 || 12 || 13","browsers":false}}],"main":"index.js","browser":"edition-browsers/index.js","dependencies":{"binaryextensions":"^2.1.2","editions":"^2.2.0","textextensions":"^2.5.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","assert-helpers":"4.10.0","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","jsdoc":"^3.6.3","kava":"^3.2.0","minami":"^1.2.3","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-node-0.12","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:compile:edition-node-0.12":"env BABEL_ENV=edition-node-0.12 babel --out-dir ./edition-node-0.12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:jsdoc","our:meta:docs:jsdoc":"rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]},"edition-node-0.12":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"node":"0.12"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"5cfe16592e36be8a7aeb014e2b0fb5544af540f1","_id":"istextorbinary@2.6.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-+XRlFseT8B3L9KyjxxLjfXSLMuErKDsd8DBNrsaxoViABMEZlOSCstwmw0qpoFX3+U6yWU1yhLudAe6/lETGGA==","shasum":"60776315fb0fa3999add276c02c69557b9ca28ab","tarball":"https://registry.npmjs.org/istextorbinary/-/istextorbinary-2.6.0.tgz","fileCount":10,"unpackedSize":57323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy36+CRA9TVsSAnZWagAAYKoP/jop/3ofqnpw/CUAdKKV\nv5rwdLMi2S1NaNwQbBmC5f+Qrjs2QArYXMd8MxhLTMX4u5cy4IjWXIgTeLbd\nMEq720sfePmT7LqD/4L2UEx/bOZIGvAIVcAN474ngv4qGqqnrQV/phYTT8Dx\nBEygdPKj9bnTc6RGYLFcyjt6+u5qpgxSCl/1M8Cd1T5zplYcNs5HnAX07pNO\nSX9RA+G6cQFTOVVYjlLAefcax6FpSRNMyfMozU6OgLs0HFsclEw746ZTyrEt\nOIKv/XbvtDwcesiGc3g+m3OQxPlvtciHObBwPA5E86e8FuWA//vhYySenThK\no40RjcgmQeOSNe0F4/uykXBQUNoWbhKDaWjd0tM3lUnPi7bLuhYquZOab/DL\nQ087rkMiCECspHqDaA+Ln/rnMBD2fNFqJmhCyskEY7V7iyVEY50rjmMCYFs3\nP95MubmD03e3eyDZlQYSSsYeBU5e3Y9uu5ipEIJEMLVV7Bg/LPmpVU1h8PBM\nGr2sWOqy1kdWWGtV5b8lGc8++5oaAcFnMCVoPxM3Yjvj/bZc15yb1yWZmuMT\naZvQ1vR1A6lehXdy86tBdOQJczhh+/SgyyVed0KIHYJf2znq9N7F/jT+Tcwr\nGq9oJaaI7MUhGMxlm9FoVPMiFxkVPbvz+fqkAxXJ4llvJMcM4MKzVAxi30wN\nsr34\r\n=hfNU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwcfVGRFqoRpeXf1Xoe77guj5ZBD8Ntu+GA3p2TYd0YgIhAJ9/yjc1ZNkMlqy6Uxw0B43VaxnFEFN9hKphzgBYesqr"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/istextorbinary_2.6.0_1573617342462_0.9168304479527669"},"_hasShrinkwrap":false}