jsbi

v3.1.4
JSBI is a pure-JavaScript implementation of [the official ECMAScript BigInt proposal](https://tc39.es/proposal-bigint/), which officially became a part of the JavaScript language in ES2020.

build

rollup --config rollup.config.js

dev

rollup --config rollup.config.js --watch

test

for file in tests/*.mjs; do node --no-warnings --experimental-modules "${file}"; done; 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 && npm run build && git status && git diff-index --quiet HEAD -- || git diff && npm test

Metadata

Downloads