bigint-hash

v0.2.2
Common hashing functions with bigint support
bigint bignum hash md5 sha1 sha256 keccak sha3 crypto and 4 more...

test

npm run test:node && npm run test:browser

coverage

istanbul cover ./test/index.js

coveralls

npm run coverage && coveralls <coverage/lcov.info

lint

gts check

install

npm run rebuild || echo "Couldn't build bindings. Non-native version used."

prepare

git submodule init; git submodule update; npm run compile

prepublishOnly

rm -rf build/Release; rm build/Makefile; rm build/gyp-*; rm build/*.mk; rm build/*.Makefile; rm *.tgz

test:browser

karma start karma.conf.js

test:node

mocha -r ts-node/register src/**/*.spec.ts --timeout 40000

benchmark

node -r ts-node/register src/index.bench.ts

typedoc

typedoc --out docs $(pwd)/src --target es6 --mode file --tsconfig ./tsconfig.json --excludePrivate --excludeProtected --excludeNotExported --exclude '**/*+(spec|bench).ts'

rebuild

node-gyp rebuild

check

gts check

clean

gts clean

compile

mkdir -p dist; tsc -p .;rollup -c > dist/node.js && BROWSER=true rollup -c > dist/browser.js; cp build/src/*.d.ts dist

fix

gts fix

pretest

npm run compile

posttest

npm run check
npm i bigint-hash

Metadata

Downloads

Maintainers