0.1.0 • Published 2 years ago
is-img v0.1.0
Installation
Install with npm / yarn / pnpm:
npm install is-img
yarn add is-img
pnpm add is-img
Example
const isImg = require('is-img');
isImg('./path/to/image/file.png').then(boolean => console.log(boolean));
isImg('image url').then(boolean => console.log(boolean));
0.1.0
2 years ago