object2array
Convert an object to array.
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install object2array 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.0                                ...           latest (5 years ago)

1 Versions

  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |