# object-without-props

> A package for SHALLOW removing of properties from an object or selecting properties from an object and creating a new object out of the result.

Latest version **0.1.2** (published 2018-08-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install object-without-props
pnpm add object-without-props
yarn add object-without-props
bun add object-without-props
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2018-08-18 |
| First published | 2018-02-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jared Lunde |
| Maintainers | jaredlunde |

## Links

- npm: https://www.npmjs.com/package/object-without-props
- Repository: https://github.com/jaredlunde/object-without-props
- npm.io page: https://npm.io/package/object-without-props

## Recent versions

- 0.1.2 (latest) — 2018-08-18
- 0.1.1 — 2018-08-18
- 0.1.0 — 2018-02-08

## README

# objectWithoutProps + objectWithProps
A package for SHALLOW removing of properties from an object or selecting properties from an object and creating a new object out of the result.

## Installation
`yarn add object-without-props` or `npm i object-without-props`


## Usage
```js
import objectWithoutProps, {objectWithProps} from 'object-without-props'


const objectA = {foo: 'bar', bar: 'baz', baz: 'boz'}
const objectB = {foo: null}
const objectC = ['bar']

objectWithoutProps(objectA, objectB, objectC)
// {baz: 'boz'}

objectWithProps(objectA, objectB, objectC)
// {foo: 'bar', bar: 'baz'}
```

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