# isarray

> Array#isArray for older browsers

Latest version **2.0.5** (published 2019-07-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install isarray
pnpm add isarray
yarn add isarray
bun add isarray
```

## Health

**Score 38/100 (D)** — status: abandoned.

Positive: has types package; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.5 |
| Published | 2019-07-08 |
| First published | 2013-05-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/isarray) |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 131 |
| Author | Julian Gruber |
| Maintainers | juliangruber |
| Keywords | browser, isarray, array |

## Links

- npm: https://www.npmjs.com/package/isarray
- Repository: https://github.com/juliangruber/isarray
- Issues: https://github.com/juliangruber/isarray/issues
- npm.io page: https://npm.io/package/isarray

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 2.0.5 (latest) — 2019-07-08
- 2.0.4 — 2018-02-10
- 2.0.3 — 2018-02-09
- 2.0.2 — 2017-07-12
- 2.0.1 — 2016-09-28
- 2.0.0 — 2016-09-24
- 1.0.0 — 2015-12-10
- 0.0.1 — 2013-05-27
- 0.0.0 — 2013-05-22

## README

# isarray

`Array#isArray` for older browsers and deprecated Node.js versions.

[![build status](https://secure.travis-ci.org/juliangruber/isarray.svg)](http://travis-ci.org/juliangruber/isarray)
[![downloads](https://img.shields.io/npm/dm/isarray.svg)](https://www.npmjs.org/package/isarray)

[![browser support](https://ci.testling.com/juliangruber/isarray.png)
](https://ci.testling.com/juliangruber/isarray)

__Just use Array.isArray directly__, unless you need to support those older versions.

## Usage

```js
var isArray = require('isarray');

console.log(isArray([])); // => true
console.log(isArray({})); // => false
```

## Installation

With [npm](https://npmjs.org) do

```bash
$ npm install isarray
```

Then bundle for the browser with
[browserify](https://github.com/substack/node-browserify).

## Sponsors

This module is proudly supported by my [Sponsors](https://github.com/juliangruber/sponsors)!

Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my [Patreon](https://www.patreon.com/juliangruber). Not sure how much of my modules you're using? Try [feross/thanks](https://github.com/feross/thanks)!

---
_Source: https://npm.io/package/isarray · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
