Skip to content

afeiship/next-to-array

Repository files navigation

next-to-array

To array for object or array like.

version license size download

installation

npm install -S @jswork/next-to-array

usage

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.