@drodsou/obj-filter
v0.1.0
Published
Filter object keys
Downloads
3
Readme
@drodsou/obj-filter
Filters an object by its matching keys
Optionally removes matching part of the key in resulting object
installation
npm install @drodsou/global-context
usage
const objFilter = require '@drodsou/obj-filter';
let resultObject = objFilter(originalObject, 'keyStartingWithThis');
examples
see index.test.js