select-keys

Select object keys

npm install select-keys
3 downloads in the last day
7 downloads in the last week
85 downloads in the last month

select-keys Build Status

Select certain keys from an object

Installation

npm install select-keys

Usage

var selectKeys = require('select-keys');
selectKeys({ a: 42, b: 'foo', c: 1337 }, ['a', 'c']); // => { a: 42, c: 1337 }
npm loves you