@dfinity/principal
v2.1.3 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
lint
eslint 'src' --ext '.js,.jsx,.ts,.tsx'
lint:fix
npm run lint -- --fix
make:docs/reference
typedoc src/index.ts --out ../../docs/principal --excludeInternal
test
jest
test:coverage
jest --collectCoverage
npm i @dfinity/principal
Metadata
- Apache-2.0
- Whatever
- DFINITY Stiftung
- released 10/23/2024