New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

x-or

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

x-or

Node/browser exclusive or function.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

node-x-or

Node/browser exclusive or function.

What's this?

Implements the logical exclusive or function in JS.

Installation

npm install x-or

Usage

var xor = require('x-or');

xor(true, false) === true;
xor(false, true) === true;

xor(true, true) === false;
xor(false, false) === false;

Keywords

xor

FAQs

Package last updated on 06 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts