0.1.0 • Published 1 year ago

anybitwise v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

anybitwise

build

This module makes you forget about bitwise limitations by using BigInt instead.

The amount of bitwise operations is theoretically without upper bound limits so that way more than 32 variables become possible.

// grab the utility creator
import bigwise from 'anybitwise';

// create a 0n to Xn bits per each invoke
const next = bigwise();

const A = next();
const B = next();
const C = A | B;

A & B;  // falsy
A & C;  // truthy

That's it.

0.1.0

1 year ago

0.0.0

1 year ago