npm · npm:content-type
content-type active
Create and parse HTTP Content-Type header
The latest stable version of content-type is 3.1.1, published on 2026-09-17. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.1.1 |
|---|---|
| Published | 2026-09-17 17:22:57 UTC |
| Install | npm install content-type@latest |
| Requires (engines) | {"node":">=22"} |
| Peer dependencies | — |
| Dist-tags | latest: 3.1.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:35:52 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 "content-type", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/content-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 | active |
|---|---|
| Last stable release | 2026-09-17 17:22:57 UTC · 56 days ago |
| Stable releases in the last 12 months | 5 |
| Published versions | 12 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.1.1 | 2026-09-17 17:22:57 UTC |
3.1.0 | 2026-09-10 23:10:26 UTC |
3.0.0 | 2026-08-20 23:01:26 UTC |
2.1.0 | 2026-08-13 20:32:58 UTC |
2.0.0 | 2026-05-11 17:22:08 UTC |
1.0.5 | 2023-01-29 19:25:59 UTC |
1.0.4 | 2017-09-11 21:42:36 UTC |
1.0.3 | 2017-09-11 04:44:08 UTC |
1.0.2 | 2016-05-10 03:59:48 UTC |
1.0.1 | 2015-02-14 00:37:57 UTC |
1.0.0 | 2015-02-02 07:31:29 UTC |
0.0.1 | 2013-10-08 07:37:54 UTC |
Showing the 12 most recent of 12 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.0.5 |
node 18 | 2.1.0 |
node 20 | 2.1.0 |
node 22 | 3.1.1 |
node 24 | 3.1.1 |
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 content-type?
The latest stable version of content-type is 3.1.1, published on 2026-09-17. Verified by Vigia on 2026-11-12.
How do I install the latest version of content-type?
Run npm install content-type@latest. The latest stable version is 3.1.1 (verified 2026-11-12).
Is content-type deprecated?
No. content-type is not marked as deprecated in the registry.
Which Node.js version does content-type require?
content-type 3.1.1 declares this requirement: {"node":">=22"}.
Does content-type 3.1.1 have known vulnerabilities?
No known advisories affect content-type 3.1.1 according to the data Vigia checks.
Is content-type still maintained?
content-type published 5 stable releases in the last 12 months; the most recent was 56 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- es-module-lexer
- path-type
- @nodelib/fs.scandir
- sprintf-js
- write-file-atomic
- json-parse-even-better-errors
- eastasianwidth
- @eslint/plugin-kit
- ieee754
- @typescript-eslint/project-service
- prop-types
- strip-final-newline
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/content-type) [](https://vigia.coredls.cloud/npm/content-type) [](https://vigia.coredls.cloud/npm/content-type)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/content-type
GET https://vigia.coredls.cloud/v1/packages/npm/content-type/versions/{version}