object2array

0.1.0 • Public • Published

object2array NPM version NPM downloads Build Status

Convert an object to array.

Install

$ npm install --save object2array

Usage

const object2array = require('object2array')

object2array({
	foo: 'blah',
	bar: 'oops'
})
/*
[
	{
		key: 'foo',
		value: 'blah'
	},
	{
		key: 'bar',
		value: 'oops'
	}
]
*/

License

MIT © EGOIST

Readme

Keywords

Package Sidebar

Install

npm i object2array

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • kchan