peach a19a732be8 commit message %!s(int64=2) %!d(string=hai) anos
..
index.js a19a732be8 commit message %!s(int64=2) %!d(string=hai) anos
license a19a732be8 commit message %!s(int64=2) %!d(string=hai) anos
package.json a19a732be8 commit message %!s(int64=2) %!d(string=hai) anos
readme.md a19a732be8 commit message %!s(int64=2) %!d(string=hai) anos

readme.md

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

Related

License

MIT © Sindre Sorhus