@dfinity/principal
v2.1.0 internet computer ic dfinity canister webauthn identity principal dfx candid and 8 more...
lint
eslint 'src' --ext '.js,.jsx,.ts,.tsx'
test
jest
build
tsc -b && tsc -p tsconfig-cjs.json
bundle
esbuild --bundle src/index.ts --outfile=dist/index.js
lint:fix
npm run lint -- --fix
size-limit
size-limit
test:coverage
jest --collectCoverage
make:docs/reference
typedoc src/index.ts --out ../../docs/principal --excludeInternal
npm i @dfinity/[email protected]
Metadata
- Apache-2.0
- Whatever
- DFINITY Stiftung
- released 9/12/2024