@dfinity/agent

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

lint

npm run eslint

test

jest

build

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

bundle

esbuild --bundle src/index.ts --outfile=dist/index.js

eslint

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

eslint:fix

npm run lint -- --fix

build:watch

tsc -b --watch

test:coverage

jest --collectCoverage

make:docs/reference

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

Metadata

Downloads