@polkadot/primitives
Type defintions for the Polkadot network
@polkadot/primitives@0.30.3 was published on 2018-09-28. Its manifest declares 3 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=6.4.
All @polkadot/primitives versions · Permanent reference to 0.30.3 · View npm registry JSON
Package specifications
| Version | 0.30.3 |
|---|---|
| License declaration | ISC |
| Published | 2018-09-28T16:43:47.888Z |
| Node.js requirement | >=6.4 |
| Type declarations | Not declared |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 119.19 KiB |
| Published file count | 223 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 32 |
| Repository stars | 1113 |
| Repository forks | 386 |
Install @polkadot/primitives 0.30.3
npm install @polkadot/primitives@0.30.3 pnpm add @polkadot/primitives@0.30.3 yarn add @polkadot/primitives@0.30.3
Runtime dependencies
- @babel/runtime ^7.0.0
- @polkadot/util ^0.30.7
- @polkadot/trie-hash ^0.30.7
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.
- @babel/runtime@7.29.13 — direct
- @polkadot/trie-hash@0.30.7 — direct
- @polkadot/util@0.30.7 — direct
- @polkadot/util-crypto@0.30.7 — indirect
- @polkadot/util-rlp@0.30.7 — indirect
- @types/bn.js@4.11.6 — indirect
- @types/camelcase@4.1.0 — indirect
- @types/deasync@0.1.5 — indirect
- @types/ip-regex@2.0.1 — indirect
- @types/node@26.6.6 — indirect
- @types/xxhashjs@0.1.1 — indirect
- ansi-styles@3.2.1 — indirect
- bindings@1.5.0 — indirect
- blakejs@1.2.1 — indirect
- bn.js@4.12.5 — indirect
- camelcase@5.3.1 — indirect
- chalk@2.4.2 — indirect
- color-convert@1.9.3 — indirect
- color-name@1.1.3 — indirect
- cuint@0.2.2 — indirect
- deasync@0.1.32 — indirect
- escape-string-regexp@1.0.5 — indirect
- file-uri-to-path@1.0.0 — indirect
- has-flag@3.0.0 — indirect
- ip-regex@3.0.0 — indirect
- js-sha3@0.8.0 — indirect
- moment@2.31.0 — indirect
- node-addon-api@1.7.2 — indirect
- supports-color@5.5.0 — indirect
- tweetnacl@1.0.3 — indirect
- undici-types@8.9.0 — indirect
- xxhashjs@0.2.2 — indirect
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.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 5/10 — Found 15/30 approved changesets -- score normalized to 5 |
|---|---|
| Maintained | 10/10 — 11 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Security-Policy | 0/10 — security policy file not detected |
| Pinned-Dependencies | 6/10 — dependency not pinned by hash detected -- score normalized to 6 |
| License | 10/10 — license file detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
| Fuzzing | 0/10 — project is not fuzzed |
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-05T16:36:53.944Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/systems/npm/packages/%40polkadot%2Fprimitives/versions/0.30.3 — retrieved 2026-11-05T22:46:09.630Z
- https://api.deps.dev/v3/projects/github.com%2Fpolkadot-js%2Fapi — retrieved 2026-11-05T21:24:34.819Z
- https://api.deps.dev/v3/systems/npm/packages/%40polkadot%2Fprimitives/versions/0.30.3:dependencies — retrieved 2026-11-05T22:46:09.835Z