1.1.2 • Published 6 months ago

isimagevalidator v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Image Validator Library

A simple Node.js library for validating image files based on their extensions.

Installation

npm install isimagevalidator

Implementations

const validate = require("isimagevalidator");
validate.isImage(filePath)

filePath: A string representing the file path to be validated.

Note:

Please ensure proper usage of file paths by avoiding spaces and ensuring there are no spaces in between file names. It is recommended to sanitize file paths for optimal functionality.