without-keys

0.0.3 • Public • Published

without-keys

Returns a new object without the keys passed as second parameter, and without modifying the first object

Installation

$ npm install without-keys

API

withoutKeys = require('without-keys')

var company = {
    name: 'Blanca Benson',
    phone: '+1 (850) 515-3813',
    address: '661 Congress Street - Wanship - Northern Mariana Islands 717'
};

withoutKeys(company, ['address']) // {  name: 'Blanca Benson',  phone: '+1 (850) 515-3813' }

License

MIT © René Nielsen @ src.agency

Readme

Keywords

none

Package Sidebar

Install

npm i without-keys

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • renenielsen
  • thomas-jensen