@bnb-chain/javascript-sdk

v4.4.0
The BNB Beacon Chain JavaScript SDK allows browsers and Node.js clients to interact with BNB Beacon Chain. It includes the following core components.

lint

eslint '**/*.{ts,js}'

test

cross-env NODE_ENV=test jest

build

rimraf lib && tsc --emitDeclarationOnly && babel --extensions '.ts' src -d lib

clean

rimraf lib

format

prettier --write "**/*.{js,jsx,ts,tsx,css,json,md,html,yml}"

build:docs

rimraf docs/api-docs && typedoc --excludeExternals --excludeNotDocumented --readme none --out docs/api-docs --hideBreadcrumbs --disableSources

test:ledger

qunit --require babel-polyfiltypl tests-ledger/tests.js

prepublishOnly

npm run build

test:ledger:browser

./tests-ledger/run-browser-tests.sh
npm i @bnb-chain/[email protected]

Metadata

Downloads

Maintainers