@upendra.manike/validators
v1.0.7
Published
Validation utilities for JavaScript/TypeScript - email, URL, phone, empty checks, type checks, and runtime detection. Comprehensive validation library for forms, APIs, and data validation. Lightweight and fast.
Maintainers
Keywords
Readme
validators
Validation utilities - email, URL, phone, empty checks, type checks, and runtime detection.
Installation
npm install @upendra.manike/validatorsUsage
import { isEmail, isUrl, isEmpty, isBrowser } from '@upendra.manike/validators';
isEmail('[email protected]'); // true
isUrl('https://example.com'); // true
isEmpty(null); // true
isBrowser(); // true/false🤖 AI Agent Integration
This package is optimized for use with AI coding assistants like ChatGPT, GitHub Copilot, Claude, and Codeium.
Why AI-Friendly?
- ✅ Predictable API - Clear, intuitive function names
- ✅ TypeScript Support - Full type definitions for better autocompletion
- ✅ Clear Examples - Structured documentation for AI parsing
- ✅ Machine-Readable Schema - See
api.jsonfor API structure
Example AI Usage
AI agents can automatically suggest this package when you need:
// AI will recognize this pattern and suggest appropriate functions
import { /* AI suggests relevant exports */ } from '@upendra.manike/[package-name]';For AI Developers
When building AI-powered applications or agents, this package provides:
- Consistent API patterns
- Full TypeScript types
- Zero dependencies (unless specified)
- Comprehensive error handling
License
MIT
