UNPKG

deep-pluck

Version:

Recursively grab the values of all keys within a deeply nested object

21 lines (19 loc) 234 B
var data = { foo: { bar: { baz: { target: "target string" } } }, biz: { boz: { bizzy: { target: 1 } } } }; if (typeof exports === 'object') { module.exports = data; }