nested-object-values
v1.0.0
Published
Get all object values, even nested ones
Downloads
9,166
Maintainers
Keywords
Readme
nested-object-values
Get all object values, even nested ones.
Example
const object = {
foo: {
bar: {
baz: {
qux: 'mux'
}
}
}
}
const values = nestedObjectValues(object)
// [ 'mux' ]
License
MIT