{"maintainers":[{"email":"brian.woodward@gmail.com","name":"anonymous"},{"email":"github@sellside.com","name":"anonymous"}],"keywords":["clear","delete","key","object","omit","property","remove","value"],"dist-tags":{"latest":"3.0.0"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"description":"Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.","readme":"# object.omit [![NPM version](https://img.shields.io/npm/v/object.omit.svg?style=flat)](https://www.npmjs.com/package/object.omit) [![NPM monthly downloads](https://img.shields.io/npm/dm/object.omit.svg?style=flat)](https://npmjs.org/package/object.omit) [![NPM total downloads](https://img.shields.io/npm/dt/object.omit.svg?style=flat)](https://npmjs.org/package/object.omit) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/object.omit.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/object.omit)\n\n> Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.\n\nFollow this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), for updates on this project and others.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save object.omit\n```\n\n## Usage\n\n```js\nvar omit = require('object.omit');\n```\n\nPass a string `key` to omit:\n\n```js\nomit({a: 'a', b: 'b', c: 'c'}, 'a')\n//=> { b: 'b', c: 'c' }\n```\n\nPass an array of `keys` to omit:\n\n```js\nomit({a: 'a', b: 'b', c: 'c'}, ['a', 'c'])\n//=> { b: 'b' }\n```\n\nReturns the object if no keys are passed:\n\n```js\nomit({a: 'a', b: 'b', c: 'c'})\n//=> {a: 'a', b: 'b', c: 'c'}\n```\n\nReturns an empty object if no value is passed.\n\n```js\nomit()\n//=> {}\n```\n\n### Filter function\n\nAn optional filter function may be passed as the last argument, with or without keys passed on the arguments:\n\n**filter on keys**\n\n```js\nvar res = omit({a: 'a', b: 'b', c: 'c'}, function (val, key) {\n  return key === 'a';\n});\n//=> {a: 'a'}\n```\n\n**filter on values**\n\n```js\nvar fn = function() {};\nvar obj = {a: 'a', b: 'b', c: fn};\n\nvar res = omit(obj, ['a'], function (val, key) {\n  return typeof val !== 'function';\n});\n//=> {b: 'b'}\n```\n\n## About\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [object.defaults](https://www.npmjs.com/package/object.defaults): Like `extend` but only copies missing properties/values to the target object. | [homepage](https://github.com/jonschlinkert/object.defaults \"Like `extend` but only copies missing properties/values to the target object.\")\n* [object.filter](https://www.npmjs.com/package/object.filter): Create a new object filtered to have only properties for which the callback returns true. | [homepage](https://github.com/jonschlinkert/object.filter \"Create a new object filtered to have only properties for which the callback returns true.\")\n* [object.pick](https://www.npmjs.com/package/object.pick): Returns a filtered copy of an object with only the specified keys, similar to `_.pick… [more](https://github.com/jonschlinkert/object.pick) | [homepage](https://github.com/jonschlinkert/object.pick \"Returns a filtered copy of an object with only the specified keys, similar to`_.pick` from lodash / underscore.\")\n* [object.pluck](https://www.npmjs.com/package/object.pluck): Like pluck from underscore / lo-dash, but returns an object composed of specified properties, with… [more](https://github.com/jonschlinkert/object.pluck) | [homepage](https://github.com/jonschlinkert/object.pluck \"Like pluck from underscore / lo-dash, but returns an object composed of specified properties, with values unmodified from those of the original object.\")\n* [object.reduce](https://www.npmjs.com/package/object.reduce): Reduces an object to a value that is the accumulated result of running each property… [more](https://github.com/jonschlinkert/object.reduce) | [homepage](https://github.com/jonschlinkert/object.reduce \"Reduces an object to a value that is the accumulated result of running each property in the object through a callback.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 21 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [bfred-it](https://github.com/bfred-it) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on September 03, 2017._","repository":{"type":"git","url":"git+https://github.com/jonschlinkert/object.omit.git"},"users":{"jonschlinkert":true,"icerainnuaa":true,"ungurys":true,"andfaulkner":true,"rocket0191":true},"bugs":{"url":"https://github.com/jonschlinkert/object.omit/issues"},"license":"MIT","versions":{"0.2.0":{"name":"object.omit","description":"Return a copy of an object without the given keys.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/object.omit","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/object.omit.git"},"bugs":{"url":"https://github.com/jonschlinkert/object.omit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/object.omit/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb-tag-jscomments":">= 0.2.0","verb":">= 0.2.6","mocha":"*"},"keywords":["clean","clear","copy","dash","delete","javascript","js","key","lo","lo-dash","lodash","object","omit","property","remove","underscore","util","utilities","utils"],"dependencies":{"for-own":"^0.1.1","isobject":"^0.2.0"},"_id":"object.omit@0.2.0","_shasum":"78d66ae4881e55bf7fd9a3813a376bccb592e5e7","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"78d66ae4881e55bf7fd9a3813a376bccb592e5e7","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/object.omit/-/object.omit-0.2.0.tgz","integrity":"sha512-M3KcaqAXtU7SlHYQQnJ7pCUJ4FZf9QWkKxdAyiv5t6y6/eHlrmPNKW6KDxL57VkhVw4mQzRmSD1y9X/qE/MFdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRqdg9t/XTT43jLSdKG4GRtumvqTVMQZpIP1GSfvyJoAIgPMEPb72hdLAWGp2WBt9RXTFigtEJuBsH9UUhnQU9iYA="}]},"directories":{}},"0.2.1":{"name":"object.omit","description":"Return a copy of an object without the given keys.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/object.omit","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/object.omit.git"},"bugs":{"url":"https://github.com/jonschlinkert/object.omit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/object.omit/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb-tag-jscomments":">= 0.2.0","verb":">= 0.2.6","mocha":"*"},"keywords":["clean","clear","copy","dash","delete","javascript","js","key","lo","lo-dash","lodash","object","omit","property","remove","underscore","util","utilities","utils"],"dependencies":{"for-own":"^0.1.1","isobject":"^0.2.0"},"_id":"object.omit@0.2.1","_shasum":"ca9af6631df6883fe61bae74df82a4fbc9df2e92","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"ca9af6631df6883fe61bae74df82a4fbc9df2e92","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/object.omit/-/object.omit-0.2.1.tgz","integrity":"sha512-75P+k6RBwaKBJtsVjDhIx6pgUWHS2P6YsN6z+S7DejM6un4JLgxOtOQVw/PaJlDt5cCyb9NCtHDgkvlHtgX2qA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0/35VV+qSJrYX5OOrgu0yxa6JHkoqzp45b96e2FicPwIhANzmh/nN0/KzOHzH9Mx+UKPJ5kkv4W348PXq+Ec+fruP"}]},"directories":{}},"1.1.0":{"name":"object.omit","description":"Return a copy of an object without the given key, or array of keys.","version":"1.1.0","homepage":"https://github.com/jonschlinkert/object.omit","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/object.omit.git"},"bugs":{"url":"https://github.com/jonschlinkert/object.omit/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/object.omit/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"keywords":["clear","delete","key","value","object","omit","property","remove"],"dependencies":{"for-own":"^0.1.3","isobject":"^1.0.0"},"devDependencies":{"mocha":"^2.2.4","should":"^5.2.0"},"gitHead":"9dc4d35d57b04515e32c644cf7c59d0e0f363137","_id":"object.omit@1.1.0","_shasum":"9d17ea16778e5057deba7752c6f55f1496829e94","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"9d17ea16778e5057deba7752c6f55f1496829e94","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/object.omit/-/object.omit-1.1.0.tgz","integrity":"sha512-oc6HJYjJhqPa0AsywIBlKNVd9ctu6lrDwr/N4HSpa3FKD1l3cF5pdgdLHm8Fn0zSKGKTKGwVOdoTTgUh1FQkKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFj+7SNWw+PKJ2P2CVabFbXlHVAh8CLTEo2X1KaxenkHAiEAngPVmNnZdF7IC8wqKTQF9WikXK4RgeWHvq49IfLaahw="}]},"directories":{}},"2.0.0":{"name":"object.omit","description":"Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.","version":"2.0.0","homepage":"https://github.com/jonschlinkert/object.omit","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/object.omit.git"},"bugs":{"url":"https://github.com/jonschlinkert/object.omit/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"for-own":"^0.1.3","is-extendable":"^0.1.1"},"devDependencies":{"mocha":"*","should":"*"},"verb":{"related":{"list":["object.filter","object.pick","object.pluck","object.reduce","object.defaults"]}},"keywords":["clear","delete","key","value","object","omit","property","remove"],"gitHead":"6e222f2cf39634faa26f642b06af4eb2050b5e75","_id":"object.omit@2.0.0","_shasum":"868597333d54e60662940bb458605dd6ae12fe94","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"868597333d54e60662940bb458605dd6ae12fe94","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/object.omit/-/object.omit-2.0.0.tgz","integrity":"sha512-/gH40jGXKZbGNDOtHIPzRhZ+xU6GNlH51fX2IaYuJjlEYdiUhcIOl0g4cElB1SwmXb6qqfhG+K69QfgwN4OWqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG5ZiuhWR8g/5GTrXOyBdqqQLrDKHmMSEMepUf+bpw6JAiEA7ZFTOIb2qxV2/cvk64/rIAVcAXQQc0ZyrsaPTs7lrU4="}]},"directories":{}},"2.0.1":{"name":"object.omit","description":"Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.","version":"2.0.1","homepage":"https://github.com/jonschlinkert/object.omit","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/object.omit.git"},"bugs":{"url":"https://github.com/jonschlinkert/object.omit/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"for-own":"^0.1.4","is-extendable":"^0.1.1"},"devDependencies":{"gulp-format-md":"^0.1.11","mocha":"^3.1.2","should":"^11.1.1"},"keywords":["clear","delete","key","object","omit","property","remove","value"],"verb":{"related":{"list":["object.defaults","object.filter","object.pick","object.pluck","object.reduce"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":["verb","verb-generate-readme"]},"gitHead":"6634673e6e88c65796f1df4bcb787dede6dc7ffc","_id":"object.omit@2.0.1","_shasum":"1a9c744829f39dbb858c76ca3579ae2a54ebd1fa","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"},{"name":"anonymous","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"1a9c744829f39dbb858c76ca3579ae2a54ebd1fa","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/object.omit/-/object.omit-2.0.1.tgz","integrity":"sha512-UiAM5mhmIuKLsOvrL+B0U2d1hXHF3bFYWIuH1LMpuV2EJEHG1Ntz06PgLEHjm6VFd87NpH8rastvPoyv6UW2fA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf5MM02Q+54bfvX8Wmir6HpqzsoVgy3pDGbPnDlPL5zwIgO4qlk0Na6XrlVEM+qnVYwK/eUyPZ11XIpo306mf045U="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/object.omit-2.0.1.tgz_1477549482527_0.48828932945616543"},"directories":{}},"3.0.0":{"name":"object.omit","description":"Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.","version":"3.0.0","homepage":"https://github.com/jonschlinkert/object.omit","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Federico Brigante","url":"https://twitter.com/bfred_it"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/object.omit.git"},"bugs":{"url":"https://github.com/jonschlinkert/object.omit/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-extendable":"^1.0.0"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.0"},"keywords":["clear","delete","key","object","omit","property","remove","value"],"verb":{"related":{"list":["object.defaults","object.filter","object.pick","object.pluck","object.reduce"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"97dc286ae4c6743d5738880555e4cdb876df24d9","_id":"object.omit@3.0.0","_npmVersion":"5.4.0","_nodeVersion":"8.4.0","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"email":"brian.woodward@gmail.com","name":"anonymous"},{"email":"github@sellside.com","name":"anonymous"}],"dist":{"integrity":"sha512-EO+BCv6LJfu+gBIF3ggLicFebFLN5zqzz/WWJlMFfkMyGth+oBkhxzDl0wx2W4GkLzuQs/FsSkXZb2IMWQqmBQ==","shasum":"0e3edc2fce2ba54df5577ff529f6d97bd8a522af","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/object.omit/-/object.omit-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAXPsMpK/m9TFi0xsbETedGDf4FJmyEexMAp/QvFlyeVAiEAx65tI5t8mdUR1dsnXML8hipObUsY7a0xJFtg8njrOmk="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.omit-3.0.0.tgz_1504496710185_0.46701549529097974"},"directories":{}}},"name":"object.omit","time":{"modified":"2023-07-21T15:52:53.977Z","created":"2014-10-06T04:33:46.399Z","0.2.0":"2014-10-06T04:33:46.399Z","0.2.1":"2014-10-25T23:48:38.519Z","1.1.0":"2015-04-09T04:48:33.812Z","2.0.0":"2015-07-22T06:19:37.141Z","2.0.1":"2016-10-27T06:24:45.221Z","3.0.0":"2017-09-04T03:45:11.081Z"},"readmeFilename":"README.md","contributors":[{"name":"Federico Brigante","url":"https://twitter.com/bfred_it"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"homepage":"https://github.com/jonschlinkert/object.omit"}