@multiformats/sha3

v2.0.17
Multiformats hash functions for SHA3
ipfs ipld multiformats hash multihash blake2

lint

standard

build

npm run build:js && npm run build:types

build:js

ipjs build --tests --main && npm run build:copy

build:copy

cp -a tsconfig.json *.js test dist/

build:types

tsc --build && mv types dist

test:cjs

npm run build && mocha dist/cjs/node-test/test-*.js && npm run test:cjs:browser

test:esm

npm run build && mocha dist/esm/node-test/test-*.js && npm run test:esm:browser

test:node

c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/test-*.js

test:cjs:browser

polendina --page --worker --serviceworker --cleanup dist/cjs/browser-test/test-*.js

test:esm:browser

polendina --page --worker --serviceworker --cleanup dist/esm/browser-test/test-*.js

test

npm run lint && npm run test:node && npm run test:esm

test:ci

npm run lint && npm run test:node && npm run test:esm && npm run test:cjs

coverage

c8 --reporter=html mocha test/test-*.js && npm_config_yes=true npx st -d coverage -p 8080
npm i @multiformats/[email protected]

Metadata

Downloads