o-pairs
Convert an object into a array of [key, value]
pairs
Install
$ npm install --save o-pairs
Example
var pairs = ; console;// -> [['America', 'Washington'], ['India', 'Mumbai'], ['Canada', 'Ottawa']]
require('o-pairs')(object)
Arguments:
object
: An object
Returns: Returns array of [key, value]
pairs
License
© 2016 Vikram Jadhav. MIT License