deep-find
find value for deep nested keys
Install
$ npm install --save deep-find
Usage
JavaScript
var deepFind = ; var obj = employee: name: first: 'yash' last: 'singh' ;
Methods
var deepFind = ;
deepFind([object], [array])
pass array as argument
var deepFind = ;var obj = employees: name: first: 'yash' last: 'singh' name: first: 'ruby' last: 'singh' var value = ;
deepFind([object], [string])
pass string as argument
var deepFind = ;var obj = employees: name: first: 'yash' last: 'singh' name: first: 'ruby' last: 'singh' var value = ;
Run Test
npm test
Benchmark
node benchmark.jsregular search x 1,212,008 ops/sec ±1.61%
Contribute or Report Issue
For bugs and feature requests, please create an issue.
License
MIT © Yashprit Singh