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

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

To array for object or array like.
https://github.com/afeiship/next-to-array

array next to-array

Last synced: about 1 month ago
JSON representation

To array for object or array like.

Awesome Lists containing this project

README

          

# next-to-array
> To array for object or array like.

[![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-to-array
```

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

const obj = {
0: 'a',
1: 'b',
2: 'c'
};
nx.toArray(obj); //['a','b','c'];
```

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

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

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

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

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