undotpath

1.0.0 • Public • Published

undotpath

Destructure deeply nested structures created by dotpath-object-create

Usage:

const undotpath = require('undotpath');

undotpath({foo:{bar:{baz:123}}}); // returns 123

Recursively traverses nested objects, taking the first key until reaching a non-object and returns its value.

License

MIT

Package Sidebar

Install

npm i undotpath

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • rxseger