Install
content-type
Create and parse HTTP Content-Type header
3.1.1Latest, 17 Sep 2026
1.6BDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
149Stars
6.9/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- Validating file uploads in Node.js: check magic bytes, not the file name or Content-Type medium.com, 24 Nov 2026
- X-Content-Type-Options: nosniff and MIME Sniffing Attacks dev.to, 21 Nov 2026
- Property Exports: Fix Presigned PDF/CSV Filenames, Content-Type, and Browser Behavior dev.to, 18 Nov 2026
- X-Content-Type-Options: nosniff for website owners: what it stops, what it needs, and how to check it dev.to, 16 Nov 2026
- CVE-2026-126084: CVE-2026-126084: Unsigned Content-Type in Rails Active Storage GCS Direct Uploads dev.to, 13 Nov 2026
On Hacker News
- The text/enriched MIME Content-type (1996) 27 points, 10 comments, 31 Oct 2021
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.