</>PackageGraphPackageGraph

content-type

npmv2.0.0TypeScript

Create and parse HTTP Content-Type header

135.6M
Weekly downloads
3
Dependents
4
Dependencies
100/100
Popularity

Overview

content-type is an npm package that create and parse HTTP Content-Type header. It is extremely widely used, with about 135.6M downloads per week and 3 known dependents in the graph. The latest version is 2.0.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need create and parse HTTP Content-Type header and value a battle-tested, widely-adopted 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

  • Large, well-established user base (135.6M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

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 content-type.

body-parsertype-isexpresskoacontent-type
content-type dependencies dependents

Dependencies

Dev (4)

@borderless/ts-scripts ^0.15.0@vitest/coverage-v8 ^3.0.5typescript ^5.7.3vitest ^3.2.4

Used by

Popular packages that depend on content-type.

Alternatives to content-type

Frequently installed together

Version history

VersionPublishedLicense
2.0.0latest2 months agoMIT
1.0.53 years agoMIT
1.0.48 years agoMIT
1.0.38 years agoMIT
1.0.210 years agoMIT
1.0.111 years agoMIT
1.0.011 years agoMIT
0.0.112 years agoUnlicense <http://unlicense.org/>

Maintainers

Keywords

Funding

Frequently asked questions

How do I install content-type?

Run `npm install content-type` to add content-type to your npm project.

What license is content-type released under?

content-type is distributed under the MIT license.

How popular is content-type?

content-type has approximately 135,594,507 downloads per week and 3 known dependent packages.