README
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)
Create an object from a list of [key, value] tuples
<script type="module">
import listObject from 'https://cdn.skypack.dev/list-object';
</script>
Create an object from a list of [key, value]
tuples.
var listObject = require('list-object');
listObject();
//=> {}
listObject([['a', 1], ['b', 2]]);
//=> {a: 1, b: 2}
(see test/test.js for more examples)