Negligent Parachute Maintainers
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

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" } } }

Keywords

none

install

npm i string-2-object

Downloadsweekly downloads

2

version

1.0.1

license

ISC

last publish

collaborators

  • avatar
Report a vulnerability