{"_id":"is-binary-path","_rev":"3341802","name":"is-binary-path","description":"Check if a file path is a binary file","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"},{"name":"sindresorhus","email":""}],"time":{"modified":"2024-07-10T08:35:44.000Z","created":"2015-01-24T09:13:13.344Z","3.0.0":"2024-04-30T16:50:25.858Z","2.1.0":"2019-04-19T04:42:45.772Z","2.0.1":"2019-03-27T12:14:17.036Z","2.0.0":"2016-09-14T11:52:57.308Z","1.0.1":"2015-05-25T11:32:32.616Z","1.0.0":"2015-01-24T09:13:13.344Z"},"users":{"youstrive":true,"faraoman":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-binary-path.git"},"versions":{"3.0.0":{"name":"is-binary-path","version":"3.0.0","description":"Check if a file path is a binary file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-binary-path.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18.20"},"scripts":{"test":"xo && ava"},"keywords":["binary","extensions","extension","file","path","check","detect","is"],"dependencies":{"binary-extensions":"^3.0.0"},"devDependencies":{"ava":"^6.1.2","xo":"^0.58.0"},"_id":"is-binary-path@3.0.0","gitHead":"193564a81d4eeea5a29ddde7609b601b4a44898c","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/is-binary-path/issues"},"homepage":"https://github.com/sindresorhus/is-binary-path#readme","_nodeVersion":"18.20.2","_npmVersion":"10.6.0","dist":{"shasum":"5d1918d62169c2a12d07bb71062c5f3070411779","size":1572,"noattachment":false,"key":"/is-binary-path/-/is-binary-path-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-binary-path/download/is-binary-path-3.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"},{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-binary-path_3.0.0_1714495825713_0.6348061795707021"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-30T16:50:25.858Z","publish_time":1714495825858,"_source_registry_name":"default","_cnpm_publish_time":1714495825858},"2.1.0":{"name":"is-binary-path","version":"2.1.0","description":"Check if a file path is a binary file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-binary-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["binary","extensions","extension","file","path","check","detect","is"],"dependencies":{"binary-extensions":"^2.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"efe99d8b3d0ef825925e8b986d047e39bee173c3","bugs":{"url":"https://github.com/sindresorhus/is-binary-path/issues"},"homepage":"https://github.com/sindresorhus/is-binary-path#readme","_id":"is-binary-path@2.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ea1f7f3b80f064236e83470f86c09c254fb45b09","size":1619,"noattachment":false,"key":"/is-binary-path/-/is-binary-path-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-binary-path/download/is-binary-path-2.1.0.tgz"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"},{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-binary-path_2.1.0_1555648965645_0.6777948024491265"},"_hasShrinkwrap":false,"publish_time":1555648965772,"_cnpm_publish_time":1555648965772},"2.0.1":{"name":"is-binary-path","version":"2.0.1","description":"Check if a filepath is a binary file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-binary-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"keywords":["bin","binary","ext","extensions","extension","file","path","check","detect","is"],"dependencies":{"binary-extensions":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"768ec762098b342c6390a20715e6762af0e9390e","bugs":{"url":"https://github.com/sindresorhus/is-binary-path/issues"},"homepage":"https://github.com/sindresorhus/is-binary-path#readme","_id":"is-binary-path@2.0.1","_nodeVersion":"11.12.0","_npmVersion":"6.7.0","dist":{"shasum":"a3846f848b804f3adf914eef3e4e4f16045bd778","size":1521,"noattachment":false,"key":"/is-binary-path/-/is-binary-path-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-binary-path/download/is-binary-path-2.0.1.tgz"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"},{"name":"sindresorhus","email":""}],"_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-binary-path_2.0.1_1553688856903_0.40911361812754454"},"_hasShrinkwrap":false,"publish_time":1553688857036,"_cnpm_publish_time":1553688857036},"2.0.0":{"name":"is-binary-path","version":"2.0.0","description":"Check if a filepath is a binary file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-binary-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["bin","binary","ext","extensions","extension","file","path","check","detect","is"],"dependencies":{"binary-extensions":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"f6e9ccf93e55a46616d46d19967b923a2c135ecd","bugs":{"url":"https://github.com/sindresorhus/is-binary-path/issues"},"homepage":"https://github.com/sindresorhus/is-binary-path#readme","_id":"is-binary-path@2.0.0","_shasum":"0e61cea6974b24dda8bcc8366ce58a69265d1a36","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"0e61cea6974b24dda8bcc8366ce58a69265d1a36","size":1522,"noattachment":false,"key":"/is-binary-path/-/is-binary-path-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-binary-path/download/is-binary-path-2.0.0.tgz"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"},{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-binary-path-2.0.0.tgz_1473853977066_0.9813424141611904"},"directories":{},"publish_time":1473853977308,"_cnpm_publish_time":1473853977308,"_hasShrinkwrap":false},"1.0.1":{"name":"is-binary-path","version":"1.0.1","description":"Check if a filepath is a binary file","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-binary-path"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["bin","binary","ext","extensions","extension","file","path","check","detect","is"],"dependencies":{"binary-extensions":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"ed26bd7be5e29dad159c2771cb99dd48913f9de0","bugs":{"url":"https://github.com/sindresorhus/is-binary-path/issues"},"homepage":"https://github.com/sindresorhus/is-binary-path","_id":"is-binary-path@1.0.1","_shasum":"75f16642b480f187a711c814161fd3a4a7655898","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"75f16642b480f187a711c814161fd3a4a7655898","size":1557,"noattachment":false,"key":"/is-binary-path/-/is-binary-path-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-binary-path/download/is-binary-path-1.0.1.tgz"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"},{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1432553552616,"_cnpm_publish_time":1432553552616,"_hasShrinkwrap":false},"1.0.0":{"name":"is-binary-path","version":"1.0.0","description":"Check if a filepath is a binary file","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-binary-path"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["bin","binary","ext","extensions","extension","file","path","check","detect","is"],"dependencies":{"binary-extensions":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"455639b70e867213e23480fe0b71348a79263e91","bugs":{"url":"https://github.com/sindresorhus/is-binary-path/issues"},"homepage":"https://github.com/sindresorhus/is-binary-path","_id":"is-binary-path@1.0.0","_shasum":"51a9ab34cc239e8e97d1cb1c874faf25d79d54e5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"},{"name":"sindresorhus","email":""}],"dist":{"shasum":"51a9ab34cc239e8e97d1cb1c874faf25d79d54e5","size":868,"noattachment":false,"key":"/is-binary-path/-/is-binary-path-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-binary-path/download/is-binary-path-1.0.0.tgz"},"directories":{},"publish_time":1422090793344,"_cnpm_publish_time":1422090793344,"_hasShrinkwrap":false}},"readme":"# is-binary-path\n\n> Check if a file path is a binary file\n\n## Install\n\n```sh\nnpm install is-binary-path\n```\n\n## Usage\n\n```js\nimport isBinaryPath from 'is-binary-path';\n\nisBinaryPath('source/unicorn.png');\n//=> true\n\nisBinaryPath('source/unicorn.txt');\n//=> false\n```\n\n## Related\n\n- [binary-extensions](https://github.com/sindresorhus/binary-extensions) - List of binary file extensions\n- [is-text-path](https://github.com/sindresorhus/is-text-path) - Check if a filepath is a text file\n","_attachments":{},"homepage":"https://github.com/sindresorhus/is-binary-path#readme","bugs":{"url":"https://github.com/sindresorhus/is-binary-path/issues"},"license":"MIT"}