web3.storage

v3.5.7
API client for web3.storage

test

npm-run-all -p -r mock:api test:all

test:all

run-s test:web test:cjs test:esm test:size

test:size

bundlesize

test:web

API_PORT=1337 playwright-test test/*.spec.js

test:cjs

API_PORT=1337 mocha dist/test/*.spec.cjs --exit

test:esm

API_PORT=1337 hundreds mocha test/*.spec.js --exit

mock:api

smoke -p 1337 --hooks test/mocks/hooks.js test/mocks/api

build

run-s clean build:*

build:cjs

rollup --config --silent rollup.config.js

build:esm

rollup --config rollup.esm.config.js

build:tsc

tsc --build

coverage

nyc report --reporter=text-lcov > coverage.lcov && npx codecov

typedoc

typedoc --entryPoints src --out ../../docs/client

prepare

npm run build

clean

del dist

Metadata

Downloads