# remove-properties

> 🔥 Remove properties from object

Latest version **2.1.1** (published 2023-08-06) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install remove-properties
pnpm add remove-properties
yarn add remove-properties
bun add remove-properties
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.1 |
| Published | 2023-08-06 |
| First published | 2021-03-13 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 62.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Barış DEMİRCİ |
| Maintainers | leydihavuc, ben_baris |

## Links

- npm: https://www.npmjs.com/package/remove-properties
- Repository: https://github.com/barisbored/remove-properties
- Homepage: https://github.com/barisbored/remove-properties#readme
- Issues: https://github.com/barisbored/remove-properties/issues
- npm.io page: https://npm.io/package/remove-properties

## Recent versions

- 2.1.1 (latest) — 2023-08-06
- 2.1.0 — 2022-11-26
- 2.0.0 — 2021-03-13

## README

# 🔥 Remove properties from object

easy-to-use, zero-dependency property remover.

**Typedefinitions are built-in**

[![build](https://img.shields.io/github/workflow/status/barisbored/remove-properties/Build%20and%20Test?logo=github&style=for-the-badge)](https://github.com/barisbored/remove-properties)
[![supportServer](https://img.shields.io/discord/711995199945179187?color=7289DA&label=Support&logo=discord&style=for-the-badge)](https://discord.gg/BjEJFwh)
[![totalDownloads](https://img.shields.io/npm/dt/remove-properties?color=CC3534&logo=npm&style=for-the-badge)](http://npmjs.com/remove-properties)
[![weeklyDownloads](https://img.shields.io/npm/dw/remove-properties?color=CC3534&logo=npm&style=for-the-badge)](http://npmjs.com/remove-properties)
[![version](https://img.shields.io/npm/v/remove-properties?color=red&label=Version&logo=npm&style=for-the-badge)](http://npmjs.com/remove-properties)
[![stars](https://img.shields.io/github/stars/barisbored/remove-properties?color=yellow&logo=github&style=for-the-badge)](https://github.com/barisbored/remove-properties)
[![license](https://img.shields.io/github/license/barisbored/remove-properties?logo=github&style=for-the-badge)](https://github.com/barisbored/remove-properties)

# 🐮 Installation

-   Using NPM: `npm install remove-properties --save`
-   Using Yarn: `yarn add remove-properties`

# 🧶 Usage

```js
const { removeProperties } = require("remove-properties");

const myObj = { a: 1, b: 2, c: 3, d: 4, e: 5, f: 6, g: 7 };

removeProperties(myObj, ["a", "c", "f"]); // => { b: 2, d: 4, e: 5, g: 7 }
```

# 🎈 Options

| Name   | Type          | Required | Default |
| ------ | ------------- | -------- | ------- |
| obj    | Object        | ✔️       | -       |
| remove | Array{string} | ✔️       | -       |

# 🧦 Contributing

Feel free to use GitHub's features.

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