2.0.0 • Published 2 years ago
objdict v2.0.0
Objdict
A javascript utility for object-based dictionaries.
const objdict = require("objdict")
const colors = {"red": "#CC0000", "green": "#00CC00", "blue": "#0000CC"}
objdict.forEach(colors, (color) => console.log(color))
This is just a primitive implementation of ES2015's Map using oldschool objects.
License
This project is licensed under the MIT license.