Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/afeiship/next-arrayify

Simpliy to array.
https://github.com/afeiship/next-arrayify

array arrayify next to

Last synced: 24 days ago
JSON representation

Simpliy to array.

Awesome Lists containing this project

README

        

# next-arrayify
> Simpliy to array.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-arrayify
```

## usage
```js
import '@jswork/next-arrayify';

nx.arrayify(null); //[]
nx.arrayify(undefined); //[]
nx.arrayify([1,2,3]) //[1,2,3]
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-arrayify/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-arrayify
[version-url]: https://npmjs.org/package/@jswork/next-arrayify

[license-image]: https://img.shields.io/npm/l/@jswork/next-arrayify
[license-url]: https://github.com/afeiship/next-arrayify/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-arrayify
[size-url]: https://github.com/afeiship/next-arrayify/blob/master/dist/next-arrayify.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-arrayify
[download-url]: https://www.npmjs.com/package/@jswork/next-arrayify