# except

> A function that returns a copy of the plain object given as first argument but without the keys provided as the other argument(s)

Latest version **0.1.3** (published 2014-12-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install except
pnpm add except
yarn add except
bun add except
```

## 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.3 |
| Published | 2014-12-11 |
| First published | 2014-02-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Martin Andert |
| Maintainers | martinandert |
| Keywords | object, except, omit, without |

## Links

- npm: https://www.npmjs.com/package/except
- Repository: https://github.com/martinandert/except
- Issues: https://github.com/martinandert/except/issues
- npm.io page: https://npm.io/package/except

## Dependencies (1)

- [indexof](https://npm.io/package/indexof.md) 0.0.1

## Recent versions

- 0.1.3 (latest) — 2014-12-11
- 0.1.2 — 2014-11-17
- 0.1.1 — 2014-02-27
- 0.1.0 — 2014-02-26

## README

# except

A utility function that returns a copy of the object given as first argument but without the keys provided as the other argument(s).


## Installation

Install via npm:

```bash
% npm install except
```


## Usage

Just require and call:

```js
var except = require('except');
var myobj  = { foo: true, bar: 1, baz: 'yes' };

except(myobj, 'foo')             // => { bar: 1, baz: 'yes' }
except(myobj, 'foo', 'baz')      // => { bar: 1 }
except(myobj, ['foo', 'bar'])    // => { baz: 'yes' }
```


## Contributing

Here's a quick guide:

1. Fork the repo and `make install`.

2. Run the tests. We only take pull requests with passing tests, and it's great to know that you have a clean slate: `make test`.

3. Add a test for your change. Only refactoring and documentation changes require no new tests. If you are adding functionality or are fixing a bug, we need a test!

4. Make the test pass.

5. Push to your fork and submit a pull request.


## Licence

Released under The MIT License.

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