# component-xor

> tiny xor utility function

Latest version **0.0.4** (published 2015-03-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install component-xor
pnpm add component-xor
yarn add component-xor
bun add component-xor
```

## 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.0.4 |
| Published | 2015-03-31 |
| First published | 2014-02-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Matthew Mueller |
| Maintainers | tootallnate, tjholowaychuk, rauchg, retrofox, coreh, forbeslindesay, kelonye, mattmueller, yields, anthonyshort, jongleberry, ianstormtaylor, cristiandouce, swatinem, stagas, amasad, juliangruber, shtylman, calvinfo, dominicbarnes, timoxley, jonathanong, queckezz, clintwood, thehydroimpulse, stephenmathieson, trevorgerhardt, timaschew, hughsk |
| Keywords | xor |

## Links

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

## Recent versions

- 0.0.4 (latest) — 2015-03-31
- 0.0.3 — 2014-02-11

## README

# xor

  tiny xor utility function

## Installation

  Install with [component(1)](http://component.io):

    $ component install component/xor

  Or with node.js:

    $ npm install component-xor

## API

### xor(bool, bool)

XOR two boolean values.

```js
xor(true, true) // false
xor(true, false) // true
xor(false, true) // true
xor(false, false) // false
```

## Test

```
npm install
make test
```

## License

  MIT

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