valid-image-url
This package is not maintained. Moved to image-url-validator
Check if a url is an image
Checks asynchronously whether an image URL is valid or not with using HTTP HEAD.
Install
$ npm install --save valid-image-url
Usage
const isImageURL = ; await ;//=> true await ;//=> false
License
Licensed under The MIT License (MIT)