Skip to content

egoist/object2array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Convert an object to array.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published