deepfind
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

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

The MIT License

Copyright (c) 2017-2021 Lewis Monteith

Package Sidebar

Install

npm i deepfind

Weekly Downloads

6

Version

2.0.3

License

none

Unpacked Size

12 kB

Total Files

9

Last publish

Collaborators

  • lemonjs