项目原始demo,不改动
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
このリポジトリはアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュや、課題・プルリクエストのオープンはできません。

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