jsbi

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

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

  • Unknown
  • Whatever
  • Unknown
  • released 9/12/2019

Downloads