boundless-utils-omit-keys

1.1.0 • Public • Published

omitKeys

Returns a modified version of the supplied object without the given keys.

Installation

npm i boundless-utils-omit-keys --save

Then use it like:

/** @jsx createElement */
 
import omitKeys from 'boundless-utils-omit-keys';
 
omitKeys({ foo: 'bar', bar: 'baz' }, [ 'bar' ]); // returns `{foo: 'bar'}`

Readme

Keywords

none

Package Sidebar

Install

npm i boundless-utils-omit-keys

Weekly Downloads

10,562

Version

1.1.0

License

MIT

Last publish

Collaborators

  • sighrobot