Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/afeiship/next-arrayify
- Owner: afeiship
- License: mit
- Created: 2020-06-04T23:04:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-21T02:17:23.000Z (almost 4 years ago)
- Last Synced: 2024-10-06T22:23:15.423Z (about 1 month ago)
- Topics: array, arrayify, next, to
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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