{"bugs":{"url":"https://github.com/bevry/istextorbinary/issues"},"dist":{"shasum":"933add12c5de3d5ccb9908d56093d008875998ed","tarball":"https://registry.npmjs.org/istextorbinary/-/istextorbinary-7.0.0.tgz","fileCount":13,"integrity":"sha512-RrJZgAttvlKBUoG8zGS2oyl12Exb1PJ6K6rSFH+9tEXadXMT/mRd0Lm4zwQN29jQyM6iGUFzL5HStEmismPNgw==","signatures":[{"sig":"MEYCIQCIinyoFpyJjFqtJUv1etHCJQ4zCIjSuT7u8Aye5mJyHAIhAPjdNBtm/a03w98TdWnTEFHt+RHQc7+UjThBRg1jcnJX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67943},"main":"edition-es2022/index.js","name":"istextorbinary","type":"module","title":"Is Text or Binary?","types":"./compiled-types/","author":{"url":"http://bevry.me","name":"2012+ Bevry Pty Ltd","email":"us@bevry.me"},"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"cryptoURL":"https://bevry.me/crypto","paypalURL":"https://bevry.me/paypal","githubSlug":"bevry/istextorbinary","wishlistURL":"https://bevry.me/wishlist","flattrUsername":"balupton","githubUsername":"bevry","githubWorkflow":"bevry","npmPackageName":"istextorbinary","patreonUsername":"bevry","githubRepository":"istextorbinary","liberapayUsername":"bevry","buymeacoffeeUsername":"balupton","githubSponsorsUsername":"balupton","opencollectiveUsername":"bevry","thanksdevGithubUsername":"balupton"}},"module":"edition-browsers/index.js","browser":"edition-browsers/index.js","engines":{"node":">=14"},"exports":{"node":{"import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"},"browser":{"import":"./edition-browsers/index.js"}},"funding":"https://bevry.me/fund","gitHead":"95275ad39e391fd437cefb09e1155be26d00b9c7","license":"Artistic-2.0","scripts":{"test":"node ./edition-es2022/test.js","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:test":"npm run our:verify && npm test","our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:setup":"npm run our:setup:install","our:deploy":"printf '%s\n' 'no need for this project'","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier","our:compile":"npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:types","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:meta:docs":"npm run our:meta:docs:typedoc","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\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:compile:deno":"make-deno-edition --attempt","our:release:push":"git push origin && git push origin --tags","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:meta:projectz":"projectz compile","our:setup:install":"npm install","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:module":"valid-module","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:verify:prettier":"prettier --write .","our:verify:directory":"valid-directory","our:meta:contributors":"update-contributors","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:release:check-dirty":"git diff --exit-code","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -Rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:compile:edition-browsers":"tsc --module ESNext --target ES2022 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) )","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -Rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json"},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"editions":[{"tags":["source","typescript","import"],"entry":"index.ts","engines":false,"directory":"source","description":"TypeScript source code with Import for modules"},{"tags":["compiled","javascript","import"],"entry":"index.js","engines":{"node":false,"browsers":"defaults"},"directory":"edition-browsers","description":"TypeScript compiled against ES2022 for web browsers with Import for modules"},{"tags":["compiled","javascript","es2022","require"],"entry":"index.js","engines":{"node":"14 || 16 || 18 || 20 || 21","browsers":false},"directory":"edition-es2022","description":"TypeScript compiled against ES2022 for Node.js 14 || 16 || 18 || 20 || 21 with Require for modules"},{"tags":["compiled","javascript","es2022","import"],"entry":"index.js","engines":{"node":"14 || 16 || 18 || 20 || 21","browsers":false},"directory":"edition-es2022-esm","description":"TypeScript compiled against ES2022 for Node.js 14 || 16 || 18 || 20 || 21 with Import for modules"}],"homepage":"https://github.com/bevry/istextorbinary","keywords":["bin","binary","browser","check","detect","encoding","es2022","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","module","node","path","text","typed","types","typescript"],"prettier":{"semi":false,"singleQuote":true},"repository":{"url":"git+https://github.com/bevry/istextorbinary.git","type":"git"},"_npmVersion":"10.1.0","description":"Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.","directories":{},"maintainers":[{"name":"robloach","email":"robloach@gmail.com"},{"name":"mikeumus","email":"mikeumus@protonmail.com"},{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"_nodeVersion":"20.9.0","contributors":[{"url":"https://github.com/balupton","name":"Benjamin Lupton","email":"b@lupton.cc"},{"url":"https://github.com/sibnerian","name":"Ian Sibner","email":"sibnerian@gmail.com"},{"url":"https://github.com/sainthkh","name":"Kukhyeon Heo","email":"sainthkh@gmail.com"},{"url":"https://github.com/mikeumus","name":"Michael Mooring","email":"mike@mdm.cc"},{"url":"https://github.com/robloach","name":"Rob Loach","email":"robloach@gmail.com"},{"url":"https://github.com/AlbinoDrought","name":"Sean","email":"sean@albinodrought.com"},{"url":"https://github.com/shinnn","name":"shinnn","email":"snnskwtnb@gmail.com"}],"dependencies":{"textextensions":"^5.16.0","binaryextensions":"^4.19.0"},"eslintConfig":{"extends":["bevry"]},"_hasShrinkwrap":false,"devDependencies":{"kava":"^5.15.0","surge":"^0.23.1","eslint":"^8.52.0","typedoc":"^0.25.3","prettier":"^3.0.3","projectz":"^2.23.0","typescript":"5.2.2","@types/node":"^20.8.10","filedirname":"^2.8.0","valid-module":"^2.0.0","assert-helpers":"^8.4.0","valid-directory":"^4.0.0","make-deno-edition":"^1.3.0","eslint-config-bevry":"^3.28.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.9.1","@bevry/update-contributors":"^1.22.0","@typescript-eslint/eslint-plugin":"^6.9.1"},"_npmOperationalInternal":{"tmp":"tmp/istextorbinary_7.0.0_1698844599485_0.7818300341664324","host":"s3://npm-registry-packages"},"_id":"istextorbinary@7.0.0","version":"7.0.0"}