expect-type 0.4.2
Compile-time tests for types. Useful to make sure types don't regress into being overly-permissive as changes go in over time.
expect-type@0.4.2 was published on 2020-03-07. Its manifest declares 2 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All expect-type versions · Permanent reference to 0.4.2 · Latest release
Package specifications
| Version | 0.4.2 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2020-03-07T18:33:42.931Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 187.38 KiB |
| Published file count | 21 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 2 |
| Repository stars | 566 |
| Repository forks | 10 |
Install expect-type 0.4.2
npm install expect-type@0.4.2 pnpm add expect-type@0.4.2 yarn add expect-type@0.4.2
Runtime dependencies
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.
- fp-ts@2.16.11 — direct
- io-ts@2.2.22 — 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.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Maintained | 7/10 — 9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7 |
| Pinned-Dependencies | 1/10 — dependency not pinned by hash detected -- score normalized to 1 |
| Code-Review | 3/10 — Found 10/27 approved changesets -- score normalized to 3 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Security-Policy | 10/10 — security policy file detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 9/10 — license file detected |
| Branch-Protection | 6/10 — branch protection is not maximal on development and all release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/expect-type/0.4.2 — retrieved 2026-10-29T16:52:08.680Z
- https://api.deps.dev/v3/projects/github.com%2Fmmkal%2Fexpect-type — retrieved 2026-10-29T12:45:00.079Z
- https://api.deps.dev/v3/systems/npm/packages/expect-type/versions/0.4.2:dependencies — retrieved 2026-10-29T16:52:09.218Z
- https://api.deps.dev/v3/systems/npm/packages/expect-type/versions/0.4.2 — retrieved 2026-10-29T16:52:09.273Z