is-img
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

is-img


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));

Readme

Keywords

none

Package Sidebar

Install

npm i is-img

Weekly Downloads

4

Version

0.1.0

License

ISC

Unpacked Size

5.8 kB

Total Files

9

Last publish

Collaborators

  • xhyrom