JSPM

is-text-path

3.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8618990
  • Score
    100M100P100Q208099F
  • License MIT

Check if a file path is a text file

Package Exports

  • is-text-path

Readme

is-text-path

Check if a file path is a text file

Install

npm install is-text-path

Usage

import isTextPath from 'is-text-path';

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

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