string-2-object
1.0.1 • Public • Published
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" } } }
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads