Deep Pluck
deepPluck(<haystack>, <needle>);
Returns an array containing the values of all keys in haystack that match needle.
Installation
npm i deep-pluck
Example
// A ``<script>`` consumable build provided in ``./dist``.var deepPluck = ;var data =foo:bar:'biz': 1bar:baz:'biz': 21 2
Testing
Run client and server specs
$ npm test
Run client specs in Safari, Chrome, and Firefox
$ gulp test:client:all
Run client specs on Sauce Labs (requires sauce account credentials be added to sauce-config.json
)
$ gulp test:client:sauce
Run server specs
$ gulp test:server
Continuously client tests (via PhantomJS) during development
$ gulp
Browser Support
Chrome Firefox Safari ie8+