# del-object-path

> Delete given (deep) object path

Latest version **0.1.0** (published 2015-12-31) · BSD license · 0 weekly downloads

## Install

```sh
npm install del-object-path
pnpm add del-object-path
yarn add del-object-path
bun add del-object-path
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2015-12-31 |
| First published | 2015-12-31 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | fiatjaf |
| Maintainers | fiatjaf |
| Keywords | object, path, change, remove, set |

## Links

- npm: https://www.npmjs.com/package/del-object-path
- Repository: https://github.com/fiatjaf/del-object-path
- Homepage: https://github.com/fiatjaf/del-object-path#readme
- Issues: https://github.com/fiatjaf/del-object-path/issues
- npm.io page: https://npm.io/package/del-object-path

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2015-12-31

## README

## del-object-path

Del given (deep) object path

See also: [get-object-path](http://github.com/azer/get-object-path), [set-object-path](http://github.com/azer/set-object-path)

## Install

```bash
$ npm install del-object-path
```

## Usage

```js
var del = require('del-object-path')
var data = {
  title: 'My Products',
  products: {
    eggs: [{ kind: 'white', amount: 300 }, { kind: 'brown', amount: 200 }]
  }
}

del(data, 'products.eggs[0].amount')
data.products.eggs[0].amount
// => undefined
del(data, 'products.eggs')
Object.keys(data.products)
// => ['title']
```

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