1.0.0 • Published 5 years ago

map.stringify v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

map.stringify

a simple parser and stringifier for ES6 maps

// first require the module
require("map.stringify");
// then you stringify and parse maps
const myMap = new Map([["a", "b"]]);
const stringified = Map.stringify(myMap);
console.log(stringified);
const parsed = Map.parse(stringified);
console.log(parsed);