deep-key-filter

1.0.0 • Public • Published

deep-key-filter

Install

npm install --save deep-key-filter

Usage

var deepKeyFilter = require('deep-key-filter');
var obj = {a: 1, b: 2, c: 3};
console.log(deepKeyFilter(obj, 'b')); // Filters all 'b' keys
console.log(deepKeyFilter(obj, key => key === 'c')); // Filters all 'c' keys

Package Sidebar

Install

npm i deep-key-filter

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • aiham