jsbi

v3.0.0
JSBI is a pure-JavaScript implementation of [the official ECMAScript BigInt proposal](https://tc39.github.io/proposal-bigint/), which is on track to become a part of the JavaScript language in the near future.

build

rollup --config rollup.config.mjs

dev

rollup --config rollup.config.mjs --watch

test

node --no-warnings --experimental-modules tests/tests.mjs; set -e; for file in benchmarks/*.mjs; do node --no-warnings --experimental-modules "${file}"; done

pretest

npm run build

prepublish

npm run ci

lint

eslint --fix jsbi.mjs

generate-benchmarks

for op in add and div mod mul neg not or sar shl sub xor; do scripts/generate-benchmark.py generate "${op}" > "benchmarks/${op}.mjs"; done

ci

npm run lint && git status && git diff-index --quiet HEAD -- && npm test

Metadata

Downloads