Package Exports
- filter-obj
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (filter-obj) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
filter-obj 
Filter object keys and values into a new object
Install
$ npm install --save filter-obj
Usage
var filterObj = require('filter-obj');
var obj = {
foo: true,
bar: false
};
var newObject = filterObj(obj, function (key, value, object) {
return value === true;
});
//=> {foo: true}
Related
- map-obj - Map object keys and values into a new object
- object-assign - Copy enumerable own properties from one or more source objects to a target object
License
MIT © Sindre Sorhus