2.0.3 • Published 2 years ago

deepfind v2.0.3

Weekly downloads
9
License
-
Repository
github
Last release
2 years ago

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

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

7 years ago

1.0.0

7 years ago