blob: fcc8d87411d90e94580c884487c755e9aad21dd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# image-extensions [![Build Status](https://travis-ci.org/arthurvr/image-extensions.svg?branch=master)](https://travis-ci.org/arthurvr/image-extensions)
> A list of extensions used to represent images.
Containing both bitmap and vector formats. The list is just a JSON file so can be used wherever.
## Install
```
$ npm install --save image-extensions
```
```js
var imageExtensions = require('image-extensions');
console.log(imageExtensions);
//=> ['ase', 'art', 'bpm', ...]
```
## Related
- [`is-image`](https://github.com/sindresorhus/is-image) - Check if a filepath is an image
- [`binary-extensions`](https://github.com/sindresorhus/binary-extensions) - List of binary file extensions
- [`text-extensions`](https://github.com/sindresorhus/text-extensions) - List of text extensions
## License
MIT © [Arthur Verschaeve](https://github.com/arthurvr)
|