Get and set object properties with dot notation
$ npm install @d3v4pp/dot
dot.set(obj, 'cool.aid', 'rocks');
assert(obj.cool.aid === 'rocks');
var value = dot.get(obj, 'cool.aid');
assert(value === 'rocks');
var value = dot.delete(obj, 'cool.aid');
assert(!obj.cool.hasOwnProperty('aid'));