
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
Recursively omit the specified key or keys from an object.
Install with npm:
$ npm install --save omit-deep
var omitDeep = require('omit-deep');
var obj = {a: 'a', b: 'b', c: {b: 'b', d: {b: 'b', f: 'f'}}};
console.log(omitDeep(obj, ['b']));
//=> {a: 'a', c: {d: {f: 'f'}}}
var obj = {a: 'a', b: 'b', c: {b: 'b', d: {b: 'b', f: 'f'}}};
console.log(omitDeep(obj, ['b', 'f']));
//=> {a: 'a', c: {d: {}}}
Also works with dot-notation:
var obj = {a: 'a', b: 'b', c: {b: 'b', d: {b: 'b', f: 'f'}}};
console.log(omitDeep(obj, ['c.d.b', 'f']));
//=> { a: 'a', b: 'b', c: { b: 'b', d: {} } }
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
| Commits | Contributor |
|---|---|
| 18 | jonschlinkert |
| 2 | splodingsocks |
| 1 | rikukissa |
(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)
To generate the readme and API documentation with verb:
$ npm install -g verb verb-generate-readme && verb
Install dev dependencies:
$ npm install -d && npm test
Jon Schlinkert
Copyright © 2017, Jon Schlinkert. Released under the MIT license.
This file was generated by verb-generate-readme, v0.2.1, on January 01, 2017.
Lodash's 'omit' function is a utility that removes specified keys from an object. Unlike 'omit-deep', it does not work recursively by default, but it is part of the larger Lodash library, which provides a wide range of utility functions.
Deepdash is an extension of Lodash that adds deep traversal methods, including deep omit functionality. It provides more comprehensive deep manipulation capabilities compared to 'omit-deep', but it requires Lodash as a dependency.
Omit.js is a lightweight library for omitting properties from objects. It is similar to 'omit-deep' but focuses on simplicity and does not handle deep nested structures as effectively as 'omit-deep'.
FAQs
Recursively omit the specified key or keys from an object.
The npm package omit-deep receives a total of 247,834 weekly downloads. As such, omit-deep popularity was classified as popular.
We found that omit-deep demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.