# clean-undefined

> Delete object fields of undefined.

Latest version **1.0.1** (published 2018-07-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install clean-undefined
pnpm add clean-undefined
yarn add clean-undefined
bun add clean-undefined
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-07-18 |
| First published | 2018-07-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 928 B |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | zhaoyao91 |
| Maintainers | zhaoyao91 |
| Keywords | clean, undefined |

## Links

- npm: https://www.npmjs.com/package/clean-undefined
- Repository: https://github.com/zhaoyao91/clean-undefined
- Homepage: https://github.com/zhaoyao91/clean-undefined#readme
- Issues: https://github.com/zhaoyao91/clean-undefined/issues
- npm.io page: https://npm.io/package/clean-undefined

## Recent versions

- 1.0.1 (latest) — 2018-07-18
- 1.0.0 — 2018-07-13

## README

# Clean Undefined

Delete object fields of undefined.

## Installation

```
npm install clean-undefined
```

## Usage

```ecmascript 6
const clean = require('clean-undefined')

const obj1 = {name: 'Bob', age: undefined}
// { name: 'Bob', age: undefined }

const obj2 = clean(obj1)
// { name: 'Bob' }

obj1 === obj2
// true
```

## License

MIT

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