deepfind
v2.0.3
Published
Find nested keys in an object
Downloads
8
Maintainers
Readme
DeepFind
Deep find recursively looks through an object and extracts matching keys.
Install
$ yarn add deepfind
Usage
import { deepfind } from 'deepfind';
const object = { 'key', 'value' };
const key = 'key';
deepfind(object, key); // -> ['value']
Tests
yarn install
yarn test
License
Copyright (c) 2017-2021 Lewis Monteith