jsbi

v2.0.1
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 --experimental-modules tests/tests.mjs; set -e; for file in benchmarks/*.mjs; do node --no-warnings --experimental-modules "${file}"; done

pretest

npm run build

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

Metadata

  • Unknown
  • Whatever
  • Unknown
  • released 11/15/2018

Downloads