# array-ify

> Turn anything into an array

Latest version **1.0.0** (published 2015-06-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install array-ify
pnpm add array-ify
yarn add array-ify
bun add array-ify
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-06-14 |
| First published | 2015-06-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Steve Mao |
| Maintainers | stevemao |
| Keywords | array-ify, array, arr, arrify, arrayify, convert, value |

## Links

- npm: https://www.npmjs.com/package/array-ify
- Repository: https://github.com/stevemao/array-ify
- Issues: https://github.com/stevemao/array-ify/issues
- npm.io page: https://npm.io/package/array-ify

## Recent versions

- 1.0.0 (latest) — 2015-06-14
- 0.0.0 — 2015-06-14

## README

#  [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url]

> Turn anything into an array


## Install

```sh
$ npm install --save array-ify
```


## Usage

```js
var arrayify = require('array-ify');

arrayify('unicorn');
//=> ['unicorn']

arrayify(['unicorn']);
//=> ['unicorn']

arrayify(null);
//=> [null]

arrayify(undefined);
//=> [undefined]
```


## Related

- [arrify](https://github.com/sindresorhus/arrify) - Convert a value to an array

The difference that is this module does **NOT** turn `null` or `undefined` to an empty array.


## License

MIT © [Steve Mao](https://github.com/stevemao)


[npm-image]: https://badge.fury.io/js/array-ify.svg
[npm-url]: https://npmjs.org/package/array-ify
[travis-image]: https://travis-ci.org/stevemao/array-ify.svg?branch=master
[travis-url]: https://travis-ci.org/stevemao/array-ify
[daviddm-image]: https://david-dm.org/stevemao/array-ify.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/stevemao/array-ify
[coveralls-image]: https://coveralls.io/repos/stevemao/array-ify/badge.svg
[coveralls-url]: https://coveralls.io/r/stevemao/array-ify

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