expect-type
npmv1.4.0TypeScript[](https://github.com/mmkal/expect-type/actions/workflows/ci.yml)  [](ht
Overview
expect-type is an npm package that [](https://github.com/mmkal/expect-type/actions/workflows/ci.yml)  [](ht. The latest version is 1.4.0, released under the Apache-2.0 license.
Who should use it
Teams working in the npm ecosystem who need [](https://github.com/mmkal/expect-type/actions/workflows/ci.yml)  [](ht and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (Apache-2.0).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of expect-type.
Dependencies
Dev (12)
Used by
Popular packages that depend on expect-type.
Next generation testing framework powered by Vite
A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3
Convert character encodings in pure javascript.
Alternatives to expect-type
Strict TypeScript and Flow types for style based on MDN data
Delightful JavaScript Testing.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Delightful JavaScript Testing.
Delightful JavaScript Testing.
Browser running for Vitest using playwright
Browser running for Vitest using your browser of choice
Browser running for Vitest using webdriverio
Media Type Database
The ultimate javascript content-type utility.
TypeScript-first schema declaration and validation library with static type inference
Next generation testing framework powered by Vite
Frequently installed together
TypeScript definitions for node
The semantic version parser used by npm.
Native-ESM powered web dev build tool
An AST-based pattern checker for JavaScript.
Low level bindings for creating Web Standard contexts.
Public API for OpenTelemetry
A JavaScript implementation of many web standards
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
Lightweight debugging utility for Node.js and the browser
the complete solution for node.js command-line programs
Resolve the path of a module like `require.resolve()` but from a given path
A tiny (183B to 210B) and fast utility to ascend parent directories
Version history
| Version | Published | License |
|---|---|---|
| 1.4.0latest | 24 days ago | Apache-2.0 |
| 1.3.0 | 7 months ago | Apache-2.0 |
| 1.2.2 | 1 year ago | Apache-2.0 |
| 1.2.1 | 1 year ago | Apache-2.0 |
| 1.2.0 | 1 year ago | Apache-2.0 |
| 1.1.0 | 1 year ago | Apache-2.0 |
| 1.0.0 | 1 year ago | Apache-2.0 |
| 1.0.0-rc.0 | 1 year ago | Apache-2.0 |
| 0.20.0 | 1 year ago | Apache-2.0 |
| 0.20.0-0 | 1 year ago | Apache-2.0 |
| 0.19.0 | 2 years ago | Apache-2.0 |
| 0.18.0 | 2 years ago | Apache-2.0 |
| 0.17.3 | 2 years ago | Apache-2.0 |
| 0.17.3-0 | 2 years ago | Apache-2.0 |
| 0.17.2 | 2 years ago | Apache-2.0 |
| 0.17.1 | 2 years ago | Apache-2.0 |
| 0.17.0 | 2 years ago | Apache-2.0 |
| 0.17.0-2 | 2 years ago | Apache-2.0 |
| 0.17.0-1 | 2 years ago | Apache-2.0 |
| 0.16.0 | 3 years ago | Apache-2.0 |
Maintainers
Frequently asked questions
How do I install expect-type?
Run `npm install expect-type` to add expect-type to your npm project.
What license is expect-type released under?
expect-type is distributed under the Apache-2.0 license.
How popular is expect-type?
expect-type has approximately 0 downloads per week and 2 known dependent packages.