js-object-pick
Returns a new object only containing the specified properties
API
const pick = require('js-object-pick')
pick(jsObject, a string or an array of strings)
Usage
const pick =const package =const filter =// filter should have only "version" & "name" propsconst description =// description should be {desc: 'hey'}