1.0.1 • Published 9 years ago
string-2-object v1.0.1
string2Object
A module to parse a string separated by dots into an object.
const sto = new StringToObject('foo.bar.bab = "baz"');
sto.getString() // returns a stringified object
sto.getObject() // returns the object
//{ "foo" : { "bar" : { "bab" : "baz" } } }