# omit-deep-lodash

> Omit object key/values recursively with lodash as only dependency.

Latest version **1.1.7** (published 2022-06-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install omit-deep-lodash
pnpm add omit-deep-lodash
yarn add omit-deep-lodash
bun add omit-deep-lodash
```

## Health

**Score 23/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.7 |
| Published | 2022-06-12 |
| First published | 2016-04-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/omit-deep-lodash) |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Unpacked size | 29.1 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 43 |
| Author | Alexi Rahman |
| Maintainers | odynvolk |
| Keywords | deep, omit, key, keys, delete, remove, object, prop, properties, values, lodash |

## Links

- npm: https://www.npmjs.com/package/omit-deep-lodash
- Repository: https://github.com/odynvolk/omit-deep-lodash
- Issues: https://odynvolk/omit-deep-lodash/issues
- npm.io page: https://npm.io/package/omit-deep-lodash

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ~4.17.21

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.1.7 (latest) — 2022-06-12
- 1.1.6 — 2022-01-06
- 1.1.5 — 2020-09-22
- 1.1.4 — 2018-11-23
- 1.1.3 — 2018-10-29
- 1.1.2 — 2018-08-05
- 1.1.1 — 2018-08-05
- 1.1.0 — 2018-07-30
- 1.0.1 — 2018-07-22
- 1.0.0 — 2017-05-06
- 0.9.0 — 2017-03-16
- 0.8.1 — 2017-02-12
- 0.8.0 — 2016-04-22

## README

# omit-deep-lodash
> Omit object key/values recursively

Sometimes we need to omit things from an object recursively. [omit-deep](https://github.com/jonschlinkert/omit-deep) did this
in a great manner but hadn't been updated for quite some time and didn't really work with Arrays. omit-deep-lodash solves
this and uses only lodash as external dependency.

The code for this module uses new features in the Javascript language, but the code is transpiled by Babel to ES2015 so most
projects who needs it should be able to use it.

Note! All non-omitted properties that are objects lose their prototype chains and thus their true type. This implementation 
is thus best used for simple JSON type objects like data objects and not typed object graphs where members have objects 
with constructors.

## Install

Install with [npm](https://www.npmjs.com/)

```sh
$ npm i omit-deep-lodash --save
```

## Usage

```js
const omitDeep = require("omit-deep-lodash");

omitDeep({a: "a", b: "b", c: {b: "b", d: {b: "b", f: "f"}}}, "b");
//=> {a: "a", c: {d: {f: "f"}}}

omitDeep({a: "a", b: "b", c: {b: "b", d: {b: "b", f: "f"}}}, "a", "b");
//=> {c: {d: {f: "f"}}}
```

## Related projects

* [omit-deep](https://github.com/jonschlinkert/omit-deep): The original project for this. [more](https://github.com/jonschlinkert/omit-deep)
* [lodash](https://github.com/lodash/lodash): The only external dependency. [more](https://github.com/lodash/lodash)

## Running tests

Install dev dependencies:

```sh
$ npm i -d && npm test
```

## Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/odynvolk/omit-deep-lodash/issues/new)

## Author

+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [github/odynvolk](https://github.com/odynvolk)
+ [github.com/mickeek](https://github.com/mickeek)
+ [github.com/InterAl](https://github.com/InterAl)
+ [github.com/mathianasj](https://github.com/mathianasj)
+ [github.com/spawnia](https://github.com/spawnia)

## License

Released under the MIT license.

---
_Source: https://npm.io/package/omit-deep-lodash · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
