summaryrefslogtreecommitdiff
path: root/node_modules/is-image/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/is-image/readme.md')
-rw-r--r--node_modules/is-image/readme.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/node_modules/is-image/readme.md b/node_modules/is-image/readme.md
new file mode 100644
index 0000000..8f0c442
--- /dev/null
+++ b/node_modules/is-image/readme.md
@@ -0,0 +1,33 @@
+# is-image [![Build Status](https://travis-ci.org/sindresorhus/is-image.svg?branch=master)](https://travis-ci.org/sindresorhus/is-image)
+
+> Check if a filepath is an image
+
+
+## Install
+
+```
+$ npm install --save is-image
+```
+
+
+## Usage
+
+```js
+var isImage = require('is-image');
+
+isImage('src/unicorn.png');
+//=> true
+
+isImage('src/unicorn.txt');
+//=> false
+```
+
+
+## Related
+
+- [image-extensions](https://github.com/arthurvr/image-extensions) - List of image extensions
+
+
+## License
+
+MIT © [Sindre Sorhus](http://sindresorhus.com)