@dfinity/principal
JavaScript and TypeScript library to work with Internet Computer principals
@dfinity/principal@3.4.3 was published on 2025-11-19. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
Deprecated: This package has been deprecated. Use @icp-sdk/core/principal instead. Migration guide: https://js.icp.build/core/latest/upgrading/v5
All @dfinity/principal versions · Permanent reference to 3.4.3 · View npm registry JSON
Package specifications
| Version | 3.4.3 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2025-11-19T16:32:41.034Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 78.72 KiB |
| Published file count | 40 |
| Package type | Not declared |
| ES module entry | ./lib/esm/index.js |
| Default entry | ./lib/cjs/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 171 |
| Repository forks | 97 |
Install @dfinity/principal 3.4.3
npm install @dfinity/principal@3.4.3 pnpm add @dfinity/principal@3.4.3 yarn add @dfinity/principal@3.4.3
Runtime dependencies
- @noble/hashes ^1.8.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @noble/hashes@1.8.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-05T15:01:59.634Z
- https://api.deps.dev/v3/projects/github.com%2Fdfinity%2Ficp-js-core — retrieved 2026-11-05T13:41:17.874Z
- https://api.deps.dev/v3/systems/npm/packages/%40dfinity%2Fprincipal/versions/3.4.3 — retrieved 2026-11-05T15:01:59.884Z
- https://api.deps.dev/v3/systems/npm/packages/%40dfinity%2Fprincipal/versions/3.4.3:dependencies — retrieved 2026-11-05T15:01:59.908Z