filtered-object
v4.0.4
Published
Object Filter Package
Downloads
1
Readme
ObjectFilter
Object Filter Package
Install
npm i filtered-object
Usage
it will return a filtered object by key
Example
import objectFilter from 'filtered-object'
const object = { name:'user', surname:'userSurname' }
objectFilter(object, 'name');
result => { surname:'userSurname'}