varuint-bitcoin

v2.0.0
encode/decode number as bitcoin variable length integer

build

npm run clean && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json; npm run standard -- --fix

postbuild

find src/cjs -type f -name "*.js" -exec bash -c 'mv "$0" "${0%.js}.cjs"' {} \;

standard

ts-standard --ignore test --ignore src

gitdiff

npm run build && git diff --exit-code

clean

rimraf src

coverage

c8 --check-coverage --branches 100 --functions 100 npm run unit

lint

npm run standard

test

npm run lint && npm run coverage

unit

tape test/*.js
npm i varuint-bitcoin

Metadata

  • MIT
  • Whatever
  • Kirill Fomichev
  • released 8/29/2024

Downloads