@dfinity/agent

v0.8.6
JavaScript and TypeScript library to interact with the Internet Computer
internet computer internet-computer ic dfinity agent actor dfx canister candid and 9 more...

ci

npm run prettier && npm run lint && npm run test

lint

npm run eslint

test

jest --verbose

build

tsc -b && tsc -p tsconfig-cjs.json

bundle

npm run build

eslint

eslint --ext '.js,.jsx,.ts,.tsx' src/index.ts src/auth.ts src/request_id.ts src/request_id.test.ts

tslint

tslint --project tsconfig.json --config tslint.json

prettier

prettier --check "src/**/*.ts"

eslint:fix

npm run lint -- --fix

tslint:fix

npm run lint -- --fix

build:watch

tsc -b --watch

test:coverage

jest --verbose --collectCoverage

prettier:write

npm run prettier -- --write

make:docs/reference

typedoc src/index.ts --out docs/reference --excludeInternal
npm i @dfinity/[email protected]

Metadata

Downloads