string-2-object

1.0.1 • Public • Published

travis

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

none

Package Sidebar

Install

npm i string-2-object

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • madole