Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
678 B

  1. # is-text-path [![Build Status](https://travis-ci.org/sindresorhus/is-text-path.svg?branch=master)](https://travis-ci.org/sindresorhus/is-text-path)
  2. > Check if a filepath is a text file
  3. ## Install
  4. ```
  5. $ npm install --save is-text-path
  6. ```
  7. ## Usage
  8. ```js
  9. var isTextPath = require('is-text-path');
  10. isTextPath('src/unicorn.txt');
  11. //=> true
  12. isTextPath('src/unicorn.png');
  13. //=> false
  14. ```
  15. ## Related
  16. - [`text-extensions`](https://github.com/sindresorhus/text-extensions) - List of text file extensions
  17. - [`is-binary-path`](https://github.com/sindresorhus/is-binary-path) - Check if a filepath is a binary file
  18. ## License
  19. MIT © [Sindre Sorhus](http://sindresorhus.com)