npm · npm:component-type
component-type active
Type assertions aka less-broken `typeof`
The latest stable version of component-type is 2.0.0, published on 2023-11-16. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.0.0 |
|---|---|
| Published | 2023-11-16 20:35:52 UTC |
| Install | npm install component-type@latest |
| Requires (engines) | {"node":">=18"} |
| Peer dependencies | — |
| Dist-tags | latest: 2.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:16:14 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "component-type", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/component-type . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2023-11-16 20:35:52 UTC · 1091 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 6 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.0 | 2023-11-16 20:35:52 UTC |
1.2.2 | 2023-11-16 19:01:45 UTC |
1.2.1 | 2016-03-15 20:40:54 UTC |
1.2.0 | 2015-09-16 20:08:21 UTC |
1.1.0 | 2014-12-08 13:27:21 UTC |
1.0.0 | 2014-01-06 19:17:17 UTC |
Showing the 6 most recent of 6 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 1.2.2 |
node 18 | 2.0.0 |
node 20 | 2.0.0 |
node 22 | 2.0.0 |
node 24 | 2.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of component-type?
The latest stable version of component-type is 2.0.0, published on 2023-11-16. Verified by Vigia on 2026-11-12.
How do I install the latest version of component-type?
Run npm install component-type@latest. The latest stable version is 2.0.0 (verified 2026-11-12).
Is component-type deprecated?
No. component-type is not marked as deprecated in the registry.
Which Node.js version does component-type require?
component-type 2.0.0 declares this requirement: {"node":">=18"}.
Does component-type 2.0.0 have known vulnerabilities?
No known advisories affect component-type 2.0.0 according to the data Vigia checks.
Is component-type still maintained?
component-type published 0 stable releases in the last 12 months; the most recent was 1091 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- is64bit
- expo-system-ui
- @aws-sdk/util-buffer-from
- react-beautiful-dnd
- @types/ioredis
- libsodium
- react-copy-to-clipboard
- rx
- p-wait-for
- webdriverio
- @react-aria/select
- @swc/core-win32-arm64-msvc
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/component-type) [](https://vigia.coredls.cloud/npm/component-type) [](https://vigia.coredls.cloud/npm/component-type)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/component-type
GET https://vigia.coredls.cloud/v1/packages/npm/component-type/versions/{version}