UNPKG

@mikedeni/image-url-validator

Version:

A utility function to verify if a given URL points to a valid image by checking its content type.

36 lines (35 loc) 710 B
{ "name": "@mikedeni/image-url-validator", "version": "1.0.4", "description": "A utility function to verify if a given URL points to a valid image by checking its content type.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "image", "URL", "validator", "content-type", "image-validation", "validate", "check", "url", "isimage", "img", "photo", "pic", "picture", "jpg", "jpeg", "png", "gif" ], "author": "mikedeni", "license": "ISC", "type": "commonjs", "repository": { "type": "git", "url": "https://github.com/mikedeni/image-url-validator" } }