{"title":"Is Text or Binary?","name":"istextorbinary","version":"4.2.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","browser","check","detect","encoding","esnext","ext","extension","extensions","file","is","is binary","is binary file","is text","is text file","is text or binary","is text or binary file","isbinary","isbinaryfile","istext","istextfile","node","path","text","typed","types"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","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","githubUsername":"bevry","githubRepository":"istextorbinary","githubSlug":"bevry/istextorbinary","npmPackageName":"istextorbinary"}},"funding":"https://bevry.me/fund","author":{"name":"2012+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"bevryme","email":""}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Ian Sibner","email":"sibnerian@gmail.com","url":"https://github.com/sibnerian"},{"name":"Michael Mooring","email":"mike@mdm.cc","url":"https://github.com/mikeumus"},{"name":"Rob Loach","email":"robloach@gmail.com","url":"https://github.com/robloach"},{"name":"Sean","email":"sean@albinodrought.com","url":"https://github.com/AlbinoDrought"},{"name":"Shinnosuke Watanabe","email":"snnskwtnb@gmail.com","url":"http://shinnn.github.io"},{"name":"shinnn","url":"https://github.com/shinnn"}],"bugs":{"url":"https://github.com/bevry/istextorbinary/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/istextorbinary.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","dependencies":{"binaryextensions":"^2.3.0","textextensions":"^4.2.0"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@babel/plugin-proposal-object-rest-spread":"^7.9.6","@babel/preset-env":"^7.9.6","@bevry/update-contributors":"^1.6.0","assert-helpers":"^6.5.0","eslint":"^7.0.0","eslint-config-bevry":"^3.6.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","jsdoc":"^3.6.4","kava":"^5.1.0","minami":"^1.2.3","prettier":"^2.0.5","projectz":"^2.2.0","surge":"^0.21.3","valid-directory":"^2.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","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":"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 .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"4a7fa3d972b00d3a32b448766f9cc6ba93af6267","_id":"istextorbinary@4.2.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"shasum":"537771581da80af62636f10d57cdace7cb0999ab","size":10942,"noattachment":false,"key":"/istextorbinary/-/istextorbinary-4.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/istextorbinary/download/istextorbinary-4.2.0.tgz"},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/istextorbinary_4.2.0_1590050507933_0.29537637359144253"},"_hasShrinkwrap":false,"publish_time":1590050508079,"_cnpm_publish_time":1590050508079,"dist-tags":{"latest":"9.5.0"}}