yaroslavpysarone
v1.0.1
Published
byyaroslavpysarone
Readme
Data Validation Library
A simple and easy-to-use data validation library for validating various types of data like emails, phone numbers, URLs, and more. This library provides several utility functions to make data validation quick and reliable.
Features
- Validate email addresses
- Validate URLs
- Validate phone numbers
- Check if a value is a valid number and within a specific range
- Check if a string has a valid length
- Validate boolean values
- Validate date format (ISO)
- Check if a string contains only alphabetic characters
- Custom validation with user-defined callback functions
Installation
To install the library via npm:
npm install your-package-name