isarray
npmv2.0.5Array#isArray for older browsers
Overview
isarray is an npm package that array#isArray for older browsers. The latest version is 2.0.5, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need array#isArray for older browsers and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
- Lean dependency tree (1 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of isarray.
Dependencies
Dev (1)
Used by
Popular packages that depend on isarray.
Alternatives to isarray
Get the first fulfilled promise that satisfies the provided testing function
Browser-friendly inheritance fully compatible with standard node.js inherits()
JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes
Lightweight browser detector
LRU and FIFO caches for Client or Server
Browser running for Vitest using your browser of choice
Browser running for Vitest using playwright
Browser running for Vitest using webdriverio
prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.
Get the first path that exists on disk of multiple paths
Converts a source-map from/to different formats and allows adding/changing properties.
Browser running for Vitest
Frequently installed together
Robustly `.call.bind()` a function
An AST-based pattern checker for JavaScript.
Is this an arguments object? It's a harder question than you think.
Get and robustly cache all JS language-level intrinsics at first require time
The semantic version parser used by npm.
Store information about any JS value in a side channel. Uses WeakMap if available.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Get an iterator for any JS language value. Works robustly across all environments, all versions.
ES6 spec-compliant RegExp.prototype.flags shim.
ES2015-compliant shim for Object.is - differentiates between -0 and +0
string representations of objects in node and the browser
Is this value a JS SharedArrayBuffer?
Version history
| Version | Published | License |
|---|---|---|
| 2.0.5latest | 7 years ago | MIT |
| 2.0.4 | 8 years ago | MIT |
| 2.0.3 | 8 years ago | MIT |
| 2.0.2 | 9 years ago | MIT |
| 2.0.1 | 9 years ago | MIT |
| 2.0.0 | 9 years ago | MIT |
| 1.0.0 | 10 years ago | MIT |
| 0.0.1 | 13 years ago | MIT |
| 0.0.0 | 13 years ago | MIT |
Maintainers
Frequently asked questions
How do I install isarray?
Run `npm install isarray` to add isarray to your npm project.
What license is isarray released under?
isarray is distributed under the MIT license.
How popular is isarray?
isarray has approximately 0 downloads per week and 2 known dependent packages.