# alegrify-xor

> Logical xor operator for JS

Latest version **1.0.0** (published 2020-01-19) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2020-01-19 |
| First published | 2020-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | dejakob |
| Maintainers | dejakob |

## Links

- npm: https://www.npmjs.com/package/alegrify-xor
- npm.io page: https://npm.io/package/alegrify-xor

## Recent versions

- 1.0.0 (latest) — 2020-01-19

## README

# XOR

[![Build Status](https://travis-ci.org/alegrify-xor/xor.svg?branch=master)](https://travis-ci.org/alegrify-xor)
[![NPM](https://img.shields.io/npm/v/alegrify-xor/latest.svg?label=npm)](https://npmjs.com/package/alegrify-xor)

Logical xor operator for JS

## Boolean table

| Condition | Condition | Output |
|-----------|–----------|--------|
| false     | false     | false  |
| false     | true      | true   |
| true      | false     | true   |
| true      | true      | false  |

## Usage

```js
const xor = require('alegrify-xor');

xor(true, false) // will return true
```

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