map2object Transform a Map to a Object Quick example var map2object = require('map2object');console.log(map2object(new Map([['test', true]])));