@dfinity/candid

v2.1.3
JavaScript and TypeScript library to work with candid interfaces
internet computer ic dfinity canister webauthn identity principal dfx candid and 8 more...

build

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

bundle

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

size-limit

size-limit

ci

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

lint

eslint 'src' --ext '.js,.jsx,.ts,.tsx'

lint:fix

npm run lint -- --fix

make:docs/reference

typedoc src/index.ts --out ../../docs/candid --excludeInternal

prettier

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

prettier:write

npm run prettier -- --write

test

jest

test:coverage

jest --collectCoverage
npm i @dfinity/candid

Metadata

Downloads