LarpixClient/node_modules/is-text-path
2026-05-03 17:09:55 +02:00
..
index.js Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
license Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
package.json Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
readme.md Add capacitorjs runtime 2026-05-03 17:09:55 +02:00

is-text-path Build Status

Check if a filepath is a text file

Install

$ npm install --save is-text-path

Usage

var isTextPath = require('is-text-path');

isTextPath('src/unicorn.txt');
//=> true

isTextPath('src/unicorn.png');
//=> false

License

MIT © Sindre Sorhus