A comprehensive, dependency-free JavaScript library for type checking, validation, and environment detection.
is.js is a comprehensive JavaScript validation library that provides over 200 functions for type checking, data validation, and environment detection. It solves the problem of inconsistent validation logic by offering a unified API for checking data types, formats, and runtime conditions across different JavaScript environments.
JavaScript developers who need reliable validation utilities for type checking, data format validation, and environment detection in their applications, particularly those working across browser and Node.js environments.
Developers choose is.js because it's dependency-free, works consistently across AMD, Node.js, and browser environments, and provides an extensive collection of validation functions through a clean, chainable API with 'not', 'all', and 'any' interfaces for flexible condition checking.
Micro check library
Provides over 200 functions for type checks, regex validations, string operations, arithmetic comparisons, and time-based checks, as detailed in the extensive README.
Includes 'not', 'all', and 'any' modifiers for negation, universal, and existential checks, enabling complex logic like is.all.even([2,4,6]).
No external dependencies, ensuring minimal footprint and easy integration without additional package overhead.
Works consistently across AMD, Node.js, and browser environments, with most functions available in all contexts.
Environment checks such as is.ie() or is.mobile() are only available in browser environments and not in Node.js modules, reducing utility for server-side apps.
Regex validations for common formats like emails or credit cards are predefined and may become outdated, requiring manual override with is.setRegexp() for updates.
The library is likely monolithic without ES module support or tree-shaking, potentially increasing bundle size for projects using only a subset of functions.
String validation
jQuery Validation Plugin library sources
Validate your forms, frontend, without writing a single line of javascript
Vest ✅ Declarative validations framework
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.