get-setter
v0.0.0
Published
Simple getter and setter methods using strings and dot notation.
Downloads
4
Maintainers
Readme
get-setter
To use require and extend onto object:
var data = {
get : require('get-setter').get,
set : require('get-setter').set
};
data.set('user.first.name', 'Jane');
console.log(data.get('user.first.name'); // Jane