Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

list-object

0.1.0 • Public • Published

list-object

Create an object from a list of [key, value] tuples.

Usage

var listObject = require('list-object');
 
listObject();
//=> {}
 
listObject([['a', 1], ['b', 2]]);
//=> {a: 1, b: 2}

(see test/test.js for more examples)

Keywords

install

npm i list-object

Downloadsweekly downloads

1

version

0.1.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability