README
Logic Gates
Implementation for logic gates in js
Installation
yarn add logical-gates
Usage
import { AND, OR, NAND, NOT, NOR } from 'logical-gates';
Left bitwise operator
import { LAND, LOR, LXOR } from 'logical-gates';
Example :
const result = LAND(5, 3);
Explanation :
5 = 101
3 =11
// Left wise
3 = 110
Result
4