{"_id":"isbinaryfile","_rev":"4244429","name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","dist-tags":{"latest":"6.0.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"time":{"modified":"2026-03-29T21:26:55.000Z","created":"2012-10-09T05:40:12.609Z","6.0.0":"2025-12-05T21:10:21.980Z","5.0.7":"2025-11-11T21:00:13.436Z","5.0.6":"2025-08-28T20:06:39.143Z","5.0.5":"2025-08-28T00:03:40.417Z","5.0.4":"2024-10-23T16:08:50.630Z","5.0.3":"2024-10-13T15:33:45.734Z","5.0.2":"2024-02-14T21:07:00.440Z","5.0.1":"2024-02-14T20:41:07.169Z","5.0.0":"2022-03-25T15:14:50.208Z","4.0.10":"2022-03-25T15:13:12.750Z","4.0.9":"2022-03-24T23:07:21.363Z","4.0.8":"2021-04-29T20:18:31.957Z","4.0.6":"2020-04-03T14:30:07.687Z","4.0.5":"2020-03-17T19:29:13.286Z","4.0.4":"2020-01-12T11:32:19.534Z","4.0.3":"2019-12-29T11:40:06.820Z","4.0.2":"2019-07-11T12:22:21.711Z","4.0.1":"2019-06-05T21:34:55.055Z","4.0.0":"2019-01-08T02:55:09.341Z","4.0.0-rc1":"2019-01-08T02:39:42.134Z","3.0.3":"2018-08-02T19:30:37.009Z","3.0.2":"2017-01-02T19:57:42.794Z","3.0.1":"2016-08-08T23:06:34.025Z","3.0.0":"2015-08-05T00:09:55.183Z","2.0.4":"2015-05-04T16:33:43.046Z","2.0.3":"2014-11-19T18:59:40.860Z","2.0.2":"2014-10-23T08:01:20.396Z","2.0.1":"2014-01-28T09:22:41.567Z","2.0.0":"2013-12-24T16:55:20.032Z","1.0.1":"2013-12-20T18:21:01.787Z","1.0.0":"2013-12-02T22:46:32.609Z","0.1.9":"2013-05-24T21:32:05.109Z","0.1.8":"2013-03-19T17:47:00.807Z","0.1.7":"2013-03-19T02:16:31.881Z","0.1.6":"2013-03-13T07:15:56.885Z","0.1.5":"2012-12-24T10:10:38.979Z","0.1.4":"2012-11-08T17:32:51.454Z","0.1.3":"2012-10-26T05:12:53.570Z","0.1.2":"2012-10-15T20:29:48.898Z","0.1.1":"2012-10-14T18:17:33.729Z","0.1.0":"2012-10-09T05:40:12.609Z"},"users":{"anhulife":true,"alimaster":true,"gurunate":true},"repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"versions":{"6.0.0":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"6.0.0","type":"module","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"devDependencies":{"@types/jest":"^30","@types/node":"^24","jest":"^30.2.0","oxlint":"^1.31","prettier":"^3","ts-jest":"^29.1.4","typescript":"^5"},"engines":{"node":">= 24.0.0"},"license":"MIT","main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"}},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","lint":"oxlint src test","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","test":"NODE_OPTIONS='--experimental-vm-modules' jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"16d556d065fa056f7e7b775ccbdb5a0e26072051","_id":"isbinaryfile@6.0.0","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"shasum":"adcae341a39375f3862ba706594e8450060b62f2","size":6146,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-6.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1888d37b-5819-4d28-827d-e91d2dada78d"}},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/isbinaryfile_6.0.0_1764969021847_0.27768692324971944"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-05T21:10:21.980Z","publish_time":1764969021980,"_source_registry_name":"default","_cnpm_publish_time":1764969021980},"5.0.7":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"5.0.7","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.60","jest":"^29.7.0","prettier":"^1.19.1","release-it":"^19.0.4","ts-jest":"^29.1.4","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^4.9.4"},"engines":{"node":">= 18.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"_id":"isbinaryfile@5.0.7","gitHead":"a9d483b94d1d3bffd85f3ace95ddcf183d774976","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"shasum":"19a73f2281b7368dca9d3b3ac8a0434074670979","size":4330,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-5.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-5.0.7.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/isbinaryfile_5.0.7_1762894813250_0.7595124998774405"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-11T21:00:13.436Z","publish_time":1762894813436,"_source_registry_name":"default","_cnpm_publish_time":1762894813436},"5.0.6":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"5.0.6","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.60","jest":"^29.7.0","prettier":"^1.19.1","release-it":"^19.0.4","ts-jest":"^29.1.4","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^4.9.4"},"engines":{"node":">= 18.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"_id":"isbinaryfile@5.0.6","gitHead":"913ecb0bea60f99d679c94143fb9e1c3a76a3fb4","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"shasum":"01eac28867aeffaebaee7eaf21d1dd3a67d7c0c7","size":4284,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-5.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-5.0.6.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/isbinaryfile_5.0.6_1756411598943_0.36436535841076867"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-28T20:06:39.143Z","publish_time":1756411599143,"_source_registry_name":"default","_cnpm_publish_time":1756411599143},"5.0.5":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"5.0.5","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.60","jest":"^29.7.0","prettier":"^1.19.1","release-it":"^19.0.4","ts-jest":"^29.1.4","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^4.9.4"},"engines":{"node":">= 18.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"_id":"isbinaryfile@5.0.5","gitHead":"ae76dba724bccb86ecd094601247bf2edc234fe8","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"shasum":"5a29c56b97ef337394c3ec4cc304066042ae81e8","size":4200,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-5.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-5.0.5.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/isbinaryfile_5.0.5_1756339420087_0.884544124691615"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-28T00:03:40.417Z","publish_time":1756339420417,"_source_registry_name":"default","_cnpm_publish_time":1756339420417},"5.0.4":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"5.0.4","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.60","jest":"^29.7.0","prettier":"^1.19.1","release-it":"^17.0.4","ts-jest":"^29.1.4","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^4.9.4"},"engines":{"node":">= 18.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"_id":"isbinaryfile@5.0.4","gitHead":"856dfd92ed1a5860c2896a00979de7b54528dc74","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_nodeVersion":"20.10.0","_npmVersion":"10.8.1","dist":{"shasum":"2a2edefa76cafa66613fe4c1ea52f7f031017bdf","size":4170,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-5.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-5.0.4.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_5.0.4_1729699730397_0.9811022300319805"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-23T16:08:50.630Z","publish_time":1729699730630,"_source_registry_name":"default","_cnpm_publish_time":1729699730630},"5.0.3":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"5.0.3","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.60","jest":"^29.7.0","prettier":"^1.19.1","release-it":"^17.0.4","ts-jest":"^29.1.4","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^4.9.4"},"engines":{"node":">= 18.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"_id":"isbinaryfile@5.0.3","gitHead":"c81f07859cc61a56f546e2505c7248645ce5071e","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_nodeVersion":"20.10.0","_npmVersion":"10.8.1","dist":{"shasum":"d7d9451fad89d7d3e889567f00bed6d3ea950bd3","size":4132,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-5.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-5.0.3.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_5.0.3_1728833625534_0.5074066310495271"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-13T15:33:45.734Z","publish_time":1728833625734,"_source_registry_name":"default","_cnpm_publish_time":1728833625734},"5.0.2":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"5.0.2","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.60","jest":"^26.5.5","prettier":"^1.19.1","release-it":"^17.0.4","ts-jest":"^26.5.5","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^4.9.4"},"engines":{"node":">= 18.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"_id":"isbinaryfile@5.0.2","gitHead":"1248afc7e5a739d2306cfb6d44b448facfefc070","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_nodeVersion":"20.10.0","_npmVersion":"10.4.0","dist":{"shasum":"fe6e4dfe2e34e947ffa240c113444876ba393ae0","size":4403,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-5.0.2.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_5.0.2_1707944820242_0.4424540303478812"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-14T21:07:00.440Z","publish_time":1707944820440,"_source_registry_name":"default","_cnpm_publish_time":1707944820440},"5.0.1":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"5.0.1","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.60","jest":"^26.5.5","prettier":"^1.19.1","release-it":"^17.0.4","ts-jest":"^26.5.5","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^4.9.4"},"engines":{"node":">= 20.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"_id":"isbinaryfile@5.0.1","gitHead":"fc047c03a1acbf89ee5e034ade808abffaddfb71","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_nodeVersion":"20.10.0","_npmVersion":"10.4.0","dist":{"shasum":"60c7c8ae771e7bf2d476fc6e271411fc50685b9d","size":4404,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-5.0.1.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_5.0.1_1707943267017_0.22848131503213587"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-14T20:41:07.169Z","publish_time":1707943267169,"_source_registry_name":"default","_cnpm_publish_time":1707943267169},"5.0.0":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"5.0.0","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.59","jest":"^26.5.5","prettier":"^1.19.1","release-it":"^14.13.1","ts-jest":"^26.5.5","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^3.9.9"},"engines":{"node":">= 14.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"cda583b8e622448bac7d56dc322145e5e5b42031","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@5.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"034b7e54989dab8986598cbcea41f66663c65234","size":4388,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-5.0.0.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_5.0.0_1648221290022_0.6055212348105266"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-25T15:26:04.394Z","publish_time":1648221290208,"_cnpm_publish_time":1648221290208},"4.0.10":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"4.0.10","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.59","jest":"^26.5.5","prettier":"^1.19.1","release-it":"^14.13.1","ts-jest":"^26.5.5","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^3.9.9"},"engines":{"node":">= 8.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"4cb390c03415a6e327c3497a88bd5a88b998d651","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@4.0.10","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"0c5b5e30c2557a2f06febd37b7322946aaee42b3","size":4387,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-4.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-4.0.10.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_4.0.10_1648221192619_0.901360910221227"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-25T15:26:03.611Z","publish_time":1648221192750,"_cnpm_publish_time":1648221192750},"4.0.9":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"4.0.9","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.59","jest":"^26.5.5","prettier":"^1.19.1","release-it":"^14.13.1","ts-jest":"^26.5.5","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^3.9.9"},"engines":{"node":">= 14.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"3c4f558a4cd7a4171471f464f72547bdc4608e7e","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@4.0.9","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"a2ff303ebf746461a304c34da2932b2b4e5a1153","size":4387,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-4.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-4.0.9.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_4.0.9_1648163241165_0.8382804297040807"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-24T23:07:24.631Z","publish_time":1648163241363,"_cnpm_publish_time":1648163241363},"4.0.8":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"4.0.8","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"dependencies":{},"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.59","jest":"^25.5.4","prettier":"^1.19.1","release-it":"^14.6.1","ts-jest":"^26.5.5","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^3.9.9"},"engines":{"node":">= 8.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"9d027b20f1716049b9c8b79f141c2eb9d744acea","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@4.0.8","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"shasum":"5d34b94865bd4946633ecc78a026fc76c5b11fcf","size":3794,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-4.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-4.0.8.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_4.0.8_1619727511774_0.6328231565703133"},"_hasShrinkwrap":false,"publish_time":1619727511957,"_cnpm_publish_time":1619727511957},"4.0.6":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"4.0.6","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"dependencies":{},"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.17","jest":"^25.1.0","prettier":"^1.19.1","release-it":"^12.6.3","ts-jest":"^23.10.5","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3"},"engines":{"node":">= 8.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"6c16bec7bac468fb285a6bc95e9c10daf552222e","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@4.0.6","_nodeVersion":"13.8.0","_npmVersion":"6.13.7","dist":{"shasum":"edcb62b224e2b4710830b67498c8e4e5a4d2610b","size":3784,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-4.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-4.0.6.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_4.0.6_1585924207568_0.4250823471785379"},"_hasShrinkwrap":false,"publish_time":1585924207687,"_cnpm_publish_time":1585924207687},"4.0.5":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"4.0.5","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"dependencies":{},"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.17.17","jest":"^25.1.0","prettier":"^1.19.1","release-it":"^12.6.3","ts-jest":"^23.10.5","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3"},"engines":{"node":">= 8.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"da5d0e2039e7133e4bf8459a90713c9b9e567488","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@4.0.5","_nodeVersion":"13.8.0","_npmVersion":"6.13.7","dist":{"shasum":"7193454fdd7fc0b12855c36c48d4ac7368fa3ec9","size":3784,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-4.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-4.0.5.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_4.0.5_1584473353135_0.991471187293036"},"_hasShrinkwrap":false,"publish_time":1584473353286,"_cnpm_publish_time":1584473353286},"4.0.4":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"4.0.4","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"dependencies":{},"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.14.17","jest":"^24.9.0","prettier":"^1.18.2","release-it":"^12.3.6","ts-jest":"^23.10.5","tslint":"^5.19.0","tslint-config-prettier":"^1.18.0","typescript":"^3.6.2"},"engines":{"node":">= 8.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"funding":"https://github.com/sponsors/gjtorikian/","repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"0d4212ffddc9ae49dc1b24f0ab69a00643e6531c","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@4.0.4","_nodeVersion":"12.6.0","_npmVersion":"6.13.6","dist":{"shasum":"6803f81a8944201c642b6e17da041e24deb78712","size":3781,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-4.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-4.0.4.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_4.0.4_1578828739407_0.06456999391697793"},"_hasShrinkwrap":false,"publish_time":1578828739534,"_cnpm_publish_time":1578828739534},"4.0.3":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"4.0.3","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"dependencies":{},"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.14.17","jest":"^24.9.0","prettier":"^1.18.2","release-it":"^12.3.6","ts-jest":"^23.10.5","tslint":"^5.19.0","tslint-config-prettier":"^1.18.0","typescript":"^3.6.2"},"engines":{"node":">= 8.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"db72c42d5e98360bb51c28642d6cb5559cddc82f","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@4.0.3","_nodeVersion":"12.6.0","_npmVersion":"6.11.3","dist":{"shasum":"1bcca23bf4b2a95d209ec1e9da23b4d75e50fa2d","size":3753,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-4.0.3.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_4.0.3_1577619606676_0.19282106112042485"},"_hasShrinkwrap":false,"publish_time":1577619606820,"_cnpm_publish_time":1577619606820},"4.0.2":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"4.0.2","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"dependencies":{},"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.14.12","jest":"^24.8.0","prettier":"^1.18.2","release-it":"^9.8.3","ts-jest":"^23.10.5","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","typescript":"^3.5.3"},"engines":{"node":">= 8.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"6766ea754d28925797490528cf1a8cb36f8495d6","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@4.0.2","_nodeVersion":"10.11.0","_npmVersion":"6.9.0","dist":{"shasum":"bfc45642da645681c610cca831022e30af426488","size":3685,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-4.0.2.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_4.0.2_1562847741573_0.31559349496487643"},"_hasShrinkwrap":false,"publish_time":1562847741711,"_cnpm_publish_time":1562847741711},"4.0.1":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"4.0.1","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"dependencies":{},"devDependencies":{"@types/jest":"^23.3.12","@types/node":"^10.12.18","jest":"^24.8.0","prettier":"^1.15.3","release-it":"^9.6.2","ts-jest":"^23.10.5","tslint":"^5.12.0","tslint-config-prettier":"^1.17.0","typescript":"^3.2.2"},"engines":{"node":">= 8.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"244077ad7f5382339463a3d503d9623fc7a4c05d","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@4.0.1","_nodeVersion":"10.11.0","_npmVersion":"6.9.0","dist":{"shasum":"85dadd12ba236c9225fdf4648d6069956eaba640","size":3688,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-4.0.1.tgz"},"_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_4.0.1_1559770494862_0.8749671054938768"},"_hasShrinkwrap":false,"publish_time":1559770495055,"_cnpm_publish_time":1559770495055},"4.0.0":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"4.0.0","keywords":["text","binary","encoding","istext","is text","isbinary","is binary","is text or binary","is text or binary file","isbinaryfile","is binary file","istextfile","is text file"],"dependencies":{},"devDependencies":{"@types/jest":"^23.3.12","@types/node":"^10.12.18","jest":"^23.6.0","prettier":"^1.15.3","release-it":"^9.6.2","ts-jest":"^23.10.5","tslint":"^5.12.0","tslint-config-prettier":"^1.17.0","typescript":"^3.2.2"},"engines":{"node":">= 8.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","release":"release-it","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"04ea3eb8ca9f35a8ab555724354f11af1508b93e","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@4.0.0","_npmVersion":"6.5.0","_nodeVersion":"10.11.0","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"dist":{"shasum":"07d1061c21598b41292b0f5c68add5eab601ad8e","size":3696,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-4.0.0.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_4.0.0_1546916109217_0.5959059216081468"},"_hasShrinkwrap":false,"publish_time":1546916109341,"_cnpm_publish_time":1546916109341},"4.0.0-rc1":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"4.0.0-rc1","dependencies":{},"devDependencies":{"@types/jest":"^23.3.12","@types/node":"^10.12.18","jest":"^23.6.0","prettier":"^1.15.3","ts-jest":"^23.10.5","tslint":"^5.12.0","tslint-config-prettier":"^1.17.0","typescript":"^3.2.2"},"engines":{"node":">= 8.0.0"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json","watch":"tsc -w"},"gitHead":"269660a788ff34ef58955d4a2149b2b290ec8257","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@4.0.0-rc1","_npmVersion":"6.5.0","_nodeVersion":"10.11.0","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"dist":{"shasum":"389e2ddac29a0414057c22c3208ffcc5f35eb8a1","size":3587,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-4.0.0-rc1.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-4.0.0-rc1.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_4.0.0-rc1_1546915182032_0.17695320716526086"},"_hasShrinkwrap":false,"publish_time":1546915182134,"_cnpm_publish_time":1546915182134},"3.0.3":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"3.0.3","dependencies":{"buffer-alloc":"^1.2.0"},"devDependencies":{"mocha":"^2.2.4","grunt":"~0.4.1","grunt-release":"~0.6.0","grunt-exec":"0.4.3","grunt-cli":"~0.1.13"},"engines":{"node":">=0.6.0"},"files":["index.js"],"license":"MIT","main":"./index.js","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"test":"mocha"},"gitHead":"7c07d831c8fbaf9868424509e09ebb90d8509366","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@3.0.3","_npmVersion":"6.1.0","_nodeVersion":"10.1.0","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"dist":{"shasum":"5d6def3edebf6e8ca8cae9c30183a804b5f8be80","size":2936,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-3.0.3.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbinaryfile_3.0.3_1533238236961_0.5843964125280325"},"_hasShrinkwrap":false,"publish_time":1533238237009,"_cnpm_publish_time":1533238237009},"3.0.2":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"3.0.2","devDependencies":{"mocha":"^2.2.4","grunt":"~0.4.1","grunt-release":"~0.6.0","grunt-exec":"0.4.3","grunt-cli":"~0.1.13"},"engines":{"node":">=0.6.0"},"files":["index.js"],"license":"MIT","main":"./index.js","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"test":"mocha"},"gitHead":"e5262cf43088319833993dcf8dc797112d303cae","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@3.0.2","_shasum":"4a3e974ec0cba9004d3fc6cde7209ea69368a621","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"dist":{"shasum":"4a3e974ec0cba9004d3fc6cde7209ea69368a621","size":2899,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-3.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/isbinaryfile-3.0.2.tgz_1483387062557_0.10704225953668356"},"directories":{},"publish_time":1483387062794,"_cnpm_publish_time":1483387062794,"_hasShrinkwrap":false},"3.0.1":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"3.0.1","devDependencies":{"mocha":"^2.2.4","grunt":"~0.4.1","grunt-release":"~0.6.0","grunt-exec":"0.4.3","grunt-cli":"~0.1.13"},"engines":{"node":">=0.6.0"},"files":["index.js"],"license":"MIT","main":"./index.js","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gjtorikian/isBinaryFile.git"},"scripts":{"test":"mocha"},"gitHead":"b771103b2ac94f2f68771b58973f514882a13af2","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","_id":"isbinaryfile@3.0.1","_shasum":"6e99573675372e841a0520c036b41513d783e79e","_from":".","_npmVersion":"3.9.5","_nodeVersion":"5.11.0","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"dist":{"shasum":"6e99573675372e841a0520c036b41513d783e79e","size":2882,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-3.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/isbinaryfile-3.0.1.tgz_1470697593755_0.28075776994228363"},"directories":{},"publish_time":1470697594025,"_cnpm_publish_time":1470697594025,"_hasShrinkwrap":false},"3.0.0":{"name":"isbinaryfile","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","version":"3.0.0","devDependencies":{"mocha":"^2.2.4","grunt":"~0.4.1","grunt-release":"~0.6.0","grunt-exec":"0.4.3","grunt-cli":"~0.1.13"},"engines":{"node":">=0.6.0"},"license":"MIT","main":"./index.js","maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"scripts":{"test":"mocha"},"gitHead":"6f2489ea97d54bcb22f0c5c7469c963f84ee134e","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile","_id":"isbinaryfile@3.0.0","_shasum":"e9382ebe16aa0f7c874848008d928020e42175f7","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"dist":{"shasum":"e9382ebe16aa0f7c874848008d928020e42175f7","size":128008,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-3.0.0.tgz"},"directories":{},"publish_time":1438733395183,"_cnpm_publish_time":1438733395183,"_hasShrinkwrap":false},"2.0.4":{"name":"isbinaryfile","version":"2.0.4","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"scripts":{"test":"mocha tests/test.js"},"gitHead":"bc7971d0ccc99c411c36fb29bdf79003fee6aed7","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile","_id":"isbinaryfile@2.0.4","_shasum":"d23592e6a6f093efb84c2e6152056be294e414a1","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"dist":{"shasum":"d23592e6a6f093efb84c2e6152056be294e414a1","size":3003,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-2.0.4.tgz"},"directories":{},"publish_time":1430757223046,"_cnpm_publish_time":1430757223046,"_hasShrinkwrap":false},"2.0.3":{"name":"isbinaryfile","version":"2.0.3","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"scripts":{"test":"mocha tests/test.js"},"bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile","_id":"isbinaryfile@2.0.3","dist":{"shasum":"f3946eb92e67ce17df6e7f3c215bdd02a4ec02e3","size":48554,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-2.0.3.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1416423580860,"_cnpm_publish_time":1416423580860,"_hasShrinkwrap":false},"2.0.2":{"name":"isbinaryfile","version":"2.0.2","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"scripts":{"test":"mocha tests/test.js"},"bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"homepage":"https://github.com/gjtorikian/isBinaryFile","_id":"isbinaryfile@2.0.2","dist":{"shasum":"b7206ba957f23221b89f364328dc2b141899ca7d","size":48430,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-2.0.2.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1414051280396,"_cnpm_publish_time":1414051280396,"_hasShrinkwrap":false},"2.0.1":{"name":"isbinaryfile","version":"2.0.1","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"scripts":{"test":"mocha tests/test.js"},"_id":"isbinaryfile@2.0.1","dist":{"shasum":"b92369bfdaf616027133e077c5ba145f36699d55","size":48186,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-2.0.1.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1390900961567,"_cnpm_publish_time":1390900961567,"_hasShrinkwrap":false},"2.0.0":{"name":"isbinaryfile","version":"2.0.0","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"scripts":{"test":"mocha tests/test.js"},"readmeFilename":"README.md","_id":"isbinaryfile@2.0.0","dist":{"shasum":"309c09010811d04ebed7c8d026df443d565e9f26","size":48705,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-2.0.0.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1387904120032,"_cnpm_publish_time":1387904120032,"_hasShrinkwrap":false},"1.0.1":{"name":"isbinaryfile","version":"1.0.1","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"scripts":{"test":"mocha tests/test.js"},"readmeFilename":"README.md","_id":"isbinaryfile@1.0.1","dist":{"shasum":"7d69f583273954e76d0f00a3f78f0877315444cc","size":48373,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-1.0.1.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1387563661787,"_cnpm_publish_time":1387563661787,"_hasShrinkwrap":false},"1.0.0":{"name":"isbinaryfile","version":"1.0.0","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"scripts":{"test":"mocha tests/test.js"},"readmeFilename":"README.md","_id":"isbinaryfile@1.0.0","dist":{"shasum":"d69b9c7e21b3aea64ec0f7e17140ac38ba4141ea","size":48462,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-1.0.0.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1386024392609,"_cnpm_publish_time":1386024392609,"_hasShrinkwrap":false},"0.1.9":{"name":"isbinaryfile","version":"0.1.9","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"scripts":{"test":"mocha tests/test.js"},"readmeFilename":"README.md","_id":"isbinaryfile@0.1.9","dist":{"shasum":"15eece35c4ab708d8924da99fb874f2b5cc0b6c4","size":47469,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-0.1.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-0.1.9.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1369431125109,"_cnpm_publish_time":1369431125109,"_hasShrinkwrap":false},"0.1.8":{"name":"isbinaryfile","version":"0.1.8","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"scripts":{"test":"mocha tests/test.js"},"_id":"isbinaryfile@0.1.8","dist":{"shasum":"82ee8bae6634bad5be4accae9ceb70a34a4be5b0","size":47409,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-0.1.8.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1363715220807,"_cnpm_publish_time":1363715220807,"_hasShrinkwrap":false},"0.1.7":{"name":"isbinaryfile","version":"0.1.7","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"scripts":{"test":"mocha tests/test.js"},"_id":"isbinaryfile@0.1.7","dist":{"shasum":"78cffef7e0a4f0cf3a83c86cc5c122d8fe1d458e","size":47402,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-0.1.7.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1363659391881,"_cnpm_publish_time":1363659391881,"_hasShrinkwrap":false},"0.1.6":{"name":"isbinaryfile","version":"0.1.6","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"_id":"isbinaryfile@0.1.6","dist":{"shasum":"482f45ebff3397de48525deadcc7cb1c98e2350d","size":47361,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-0.1.6.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1363158956885,"_cnpm_publish_time":1363158956885,"_hasShrinkwrap":false},"0.1.5":{"name":"isbinaryfile","version":"0.1.5","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"readmeFilename":"README.md","_id":"isbinaryfile@0.1.5","dist":{"shasum":"a6f7c9ff8648079b400eb18a76f4f8a0c9a3439c","size":47401,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-0.1.5.tgz"},"_npmVersion":"1.1.69","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1356343838979,"_cnpm_publish_time":1356343838979,"_hasShrinkwrap":false},"0.1.4":{"name":"isbinaryfile","version":"0.1.4","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"devDependencies":{"mocha":""},"readmeFilename":"README.md","_id":"isbinaryfile@0.1.4","dist":{"shasum":"c43289f6030b04a7123374c970f3749e9b94c096","size":47383,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-0.1.4.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"gjtorikian","email":"gjtorikian@gmail.com"},"directories":{},"publish_time":1352395971454,"_cnpm_publish_time":1352395971454,"_hasShrinkwrap":false},"0.1.3":{"name":"isbinaryfile","version":"0.1.3","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"_id":"isbinaryfile@0.1.3","dist":{"shasum":"6a7bc68b730d8a90416c1d63db5ea85ba58820a6","size":1488,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-0.1.3.tgz"},"directories":{},"publish_time":1351228373570,"_cnpm_publish_time":1351228373570,"_hasShrinkwrap":false},"0.1.2":{"name":"isbinaryfile","version":"0.1.2","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"_id":"isbinaryfile@0.1.2","dist":{"shasum":"025635767652d7b930c72465ba81a435999352fd","size":1504,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-0.1.2.tgz"},"directories":{},"publish_time":1350332988898,"_cnpm_publish_time":1350332988898,"_hasShrinkwrap":false},"0.1.1":{"name":"isbinaryfile","version":"0.1.1","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"_id":"isbinaryfile@0.1.1","dist":{"shasum":"b450f748a85ec9dc60d2d0c27375203beb356a36","size":1349,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-0.1.1.tgz"},"directories":{},"publish_time":1350238653729,"_cnpm_publish_time":1350238653729,"_hasShrinkwrap":false},"0.1.0":{"name":"isbinaryfile","version":"0.1.0","description":"Detects if a file is binary in Node.js. Similar to Perl's -B.","main":"./lib/panino.js","engines":{"node":">=0.6.0"},"maintainers":[{"name":"gjtorikian","email":"gjtorikian@gmail.com"}],"repository":{"type":"git","url":"https://github.com/gjtorikian/isBinaryFile"},"_id":"isbinaryfile@0.1.0","dist":{"shasum":"de84b10537354175ed3c23f407d2725ff9188659","size":1251,"noattachment":false,"key":"/isbinaryfile/-/isbinaryfile-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/isbinaryfile/download/isbinaryfile-0.1.0.tgz"},"directories":{},"publish_time":1349761212609,"_cnpm_publish_time":1349761212609,"_hasShrinkwrap":false}},"readme":"# isBinaryFile\n\nDetects if a file is binary in Node.js. Similar to [Perl's `-B` switch](http://stackoverflow.com/questions/899206/how-does-perl-know-a-file-is-binary), in that:\n\n- it reads the first few thousand bytes of a file\n- checks for a `null` byte; if it's found, it's binary\n- flags non-ASCII characters. After a certain number of \"weird\" characters, the file is flagged as binary\n\nMuch of the logic is pretty much ported from [ag](https://github.com/ggreer/the_silver_searcher).\n\nNote: if the file doesn't exist or is a directory, an error is thrown.\n\n## Installation\n\n```\nnpm install isbinaryfile\n```\n\n## Usage\n\nReturns `Promise<boolean>` (or just `boolean` for `*Sync`). `true` if the file is binary, `false` otherwise.\n\n### isBinaryFile(filepath[, options])\n\n- `filepath` - a `string` indicating the path to the file.\n- `options` - an optional object with the following properties:\n  - `encoding` - an encoding hint (see [Encoding Hints](#encoding-hints) below)\n\n### isBinaryFile(bytes[, options])\n\n- `bytes` - a `Buffer` of the file's contents.\n- `options` - an optional object with the following properties:\n  - `size` - the size of the buffer (defaults to `bytes.length`)\n  - `encoding` - an encoding hint (see [Encoding Hints](#encoding-hints) below)\n\n### isBinaryFileSync(filepath[, options])\n\nSynchronous version of `isBinaryFile`.\n\n### isBinaryFileSync(bytes[, options])\n\nSynchronous version of `isBinaryFile` for buffers.\n\n### Examples\n\nHere's an arbitrary usage:\n\n```javascript\nimport { isBinaryFile, isBinaryFileSync } from 'isbinaryfile';\nimport fs from 'fs';\n\nconst filename = 'fixtures/pdf.pdf';\n\n// Async with file path\nconst result = await isBinaryFile(filename);\nif (result) {\n  console.log('It is binary!');\n} else {\n  console.log('No it is not.');\n}\n\n// Sync with buffer\nconst bytes = fs.readFileSync(filename);\nconsole.log(isBinaryFileSync(bytes)); // true or false\n\n// With explicit size option\nconst partialBuffer = Buffer.alloc(100);\nfs.readSync(fs.openSync(filename, 'r'), partialBuffer, 0, 100, 0);\nconsole.log(isBinaryFileSync(partialBuffer, { size: 100 }));\n```\n\n### Encoding Hints\n\nFor files that use non-UTF-8 encodings, you can provide encoding hints to improve detection accuracy:\n\n```javascript\nimport { isBinaryFile, isBinaryFileSync } from 'isbinaryfile';\n\n// UTF-16 files without BOM are auto-detected in most cases\nconst result1 = await isBinaryFile('utf16-file.txt');\n\n// Or provide explicit encoding hint\nconst result2 = await isBinaryFile('utf16-file.txt', { encoding: 'utf-16' });\n\n// ISO-8859-1 / Latin-1 encoded files\nconst result3 = isBinaryFileSync('german-text.txt', { encoding: 'latin1' });\n\n// CJK encoded files (Big5, GB2312, EUC-KR, etc.)\nconst result4 = isBinaryFileSync('chinese-big5.txt', { encoding: 'big5' });\nconst result5 = isBinaryFileSync('korean-text.txt', { encoding: 'euc-kr' });\n\n// Generic CJK hint when exact encoding is unknown\nconst result6 = isBinaryFileSync('asian-text.txt', { encoding: 'cjk' });\n```\n\n#### Supported Encoding Hints\n\n| Hint         | Description                                |\n| ------------ | ------------------------------------------ |\n| `utf-16`     | UTF-16 (auto-detect endianness)            |\n| `utf-16le`   | UTF-16 Little Endian                       |\n| `utf-16be`   | UTF-16 Big Endian                          |\n| `latin1`     | ISO-8859-1 / Latin-1                       |\n| `iso-8859-1` | Alias for latin1                           |\n| `cjk`        | Generic CJK (use when encoding is unknown) |\n| `big5`       | Traditional Chinese                        |\n| `gb2312`     | Simplified Chinese                         |\n| `gbk`        | Extended GB2312                            |\n| `euc-kr`     | Korean                                     |\n| `shift-jis`  | Japanese                                   |\n\n**Note:** UTF-16 without BOM is automatically detected in most cases without needing a hint.\n\n## Testing\n\nRun `npm test`.\n","_attachments":{},"homepage":"https://github.com/gjtorikian/isBinaryFile#readme","bugs":{"url":"https://github.com/gjtorikian/isBinaryFile/issues"},"license":"MIT"}