{"_id":"is-text-path","_rev":"131186","name":"is-text-path","description":"Check if a file path is a text file","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2023-09-20T22:01:51.000Z","created":"2015-02-16T21:27:19.015Z","2.0.0":"2019-04-19T04:53:42.618Z","1.0.1":"2015-05-25T11:30:59.286Z","1.0.0":"2015-02-16T21:27:19.015Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-text-path.git"},"versions":{"2.0.0":{"name":"is-text-path","version":"2.0.0","description":"Check if a file path is a text file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-text-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["text","extensions","extension","file","path","check","detect","is"],"dependencies":{"text-extensions":"^2.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"f036c9866c065af4b7d3f526f107d8118c89df63","bugs":{"url":"https://github.com/sindresorhus/is-text-path/issues"},"homepage":"https://github.com/sindresorhus/is-text-path#readme","_id":"is-text-path@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b2484e2b720a633feb2e85b67dc193ff72c75636","size":1589,"noattachment":false,"key":"/is-text-path/-/is-text-path-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-text-path/download/is-text-path-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-text-path_2.0.0_1555649622517_0.5797856882033592"},"_hasShrinkwrap":false,"publish_time":1555649622618,"_cnpm_publish_time":1555649622618},"1.0.1":{"name":"is-text-path","version":"1.0.1","description":"Check if a filepath is a text file","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-text-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":["txt","text","ext","extensions","extension","file","path","check","detect","is"],"dependencies":{"text-extensions":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"4d88120be1209ffb951fd0ee70f07c89ad93c03f","bugs":{"url":"https://github.com/sindresorhus/is-text-path/issues"},"homepage":"https://github.com/sindresorhus/is-text-path","_id":"is-text-path@1.0.1","_shasum":"4e1aa0fb51bfbcb3e92688001397202c1775b66e","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4e1aa0fb51bfbcb3e92688001397202c1775b66e","size":1560,"noattachment":false,"key":"/is-text-path/-/is-text-path-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/is-text-path/download/is-text-path-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1432553459286,"_cnpm_publish_time":1432553459286,"_hasShrinkwrap":false},"1.0.0":{"name":"is-text-path","version":"1.0.0","description":"Check if a filepath is a text file","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-text-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":["txt","text","ext","extensions","extension","file","path","check","detect","is"],"dependencies":{"text-extensions":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"0718772ba45dfe76f567b84133615ef8fe04f7c3","bugs":{"url":"https://github.com/sindresorhus/is-text-path/issues"},"homepage":"https://github.com/sindresorhus/is-text-path","_id":"is-text-path@1.0.0","_shasum":"63624abcc3a26fb6dd15b5abcad9a521df673dbc","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"63624abcc3a26fb6dd15b5abcad9a521df673dbc","size":1571,"noattachment":false,"key":"/is-text-path/-/is-text-path-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-text-path/download/is-text-path-1.0.0.tgz"},"directories":{},"publish_time":1424122039015,"_cnpm_publish_time":1424122039015,"_hasShrinkwrap":false}},"readme":"# is-text-path [![Build Status](https://travis-ci.org/sindresorhus/is-text-path.svg?branch=master)](https://travis-ci.org/sindresorhus/is-text-path)\n\n> Check if a file path is a text file\n\n\n## Install\n\n```\n$ npm install is-text-path\n```\n\n\n## Usage\n\n```js\nconst isTextPath = require('is-text-path');\n\nisTextPath('source/unicorn.txt');\n//=> true\n\nisTextPath('source/unicorn.png');\n//=> false\n```\n\n\n## Related\n\n- [`text-extensions`](https://github.com/sindresorhus/text-extensions) - List of text file extensions\n- [`is-binary-path`](https://github.com/sindresorhus/is-binary-path) - Check if a file path is a binary file\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","_attachments":{},"homepage":"https://github.com/sindresorhus/is-text-path#readme","bugs":{"url":"https://github.com/sindresorhus/is-text-path/issues"},"license":"MIT"}