JS Array
🚀 Modern TypeScript Array Validation
A robust, zero-dependency drop-in replacement for is-array. Includes 12+ additional validators, built-in type guards, and first-class TypeScript support.
Why js-isarray?
More than just a simple check. It's a complete validation toolkit.
- Drop-in replacement for the classic
is-array - 12+ additional validators (string[], number[], objects[], etc.)
- Built-in Type Guards (no more
@typesneeded)
Support Development
12+ Validators
Includes isStringArray, isNumberArray, validateArray, and more.
TypeScript First
Written in TS with proper type inference. No extra typings required.
Tiny Footprint
Only ~8.9KB minified. Zero dependencies. Tree-shakeable.
Drop-in Ready
Migrating from is-array? Just change the import path.
Validated
100% test coverage ensuring reliability across environments.
Contribution
This project is open source and we welcome contributions.
Follow these steps to contribute:
- 1Fork the repository on GitHub
- 2Create a new feature branch
- 3Commit your changes and open a PR
License
This project is free and open-source software licensed under the MIT License.
Copyright © 2026 Noor Mohammad
If this package saves you time, consider buying me a coffee.
Your support helps keep the utilities updated and well-documented. 🙏
💝 Thank you for your support!