</>PackageGraphPackageGraph

content-disposition

npmv3.0.0TypeScript

Create and parse Content-Disposition header

Safe to adopt

Yes — content-disposition scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 27 days ago. 5 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 27 days ago. 5 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 49 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 4 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding content-disposition to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

49 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=22
Module format
ESM only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the content-disposition README.

import { create, parse, format } from 'content-disposition';

content-disposition vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
content-dispositionthis page02MIT27 days ago
content-type191.4M6MIT1 day ago
vary100.2M4MIT1 day ago
etag100M4MIT1 day ago
negotiator183.3M2MIT1 day ago
node-fetch172.9M9MIT1 day ago

Dependencies

Declared by content-disposition v3.0.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (4)

@borderless/ts-scripts ^0.15.0@vitest/coverage-v8 ^4.1.10typescript ^7.0.2vitest ^4.1.10

Used by

Popular packages that depend on content-disposition.

Relationship graph

Dependencies (left) and dependents (right) of content-disposition.

expresskoacontent-dispositi…
content-disposition dependencies dependents

Frequently installed together

Release history

5 releases in the last two years, typically about 34 days apart.

Recent versions of content-disposition
VersionPublishedSizeLicense
3.0.0latest27 days ago49 KBMIT
2.0.13 months ago47 KBMIT
2.0.04 months ago47 KBMIT
1.1.05 months ago19 KBMIT
1.0.19 months ago19 KBMIT
1.0.02 years ago19 KBMIT
0.5.44 years ago19 KBMIT
0.5.37 years ago19 KBMIT
0.5.29 years agoMIT
0.5.110 years agoMIT
0.5.012 years agoMIT
0.4.012 years agoMIT
0.3.012 years agoMIT
0.1.212 years agoMIT
0.2.012 years agoMIT

Overview

content-disposition is an npm package that create and parse Content-Disposition header. It has 2 known dependents in the graph. The latest version is 3.0.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need create and parse Content-Disposition header 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 (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use content-disposition?

Yes — content-disposition scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 27 days ago. 5 releases in the last 2 years.

How do I install content-disposition?

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

What license is content-disposition released under?

content-disposition is distributed under the MIT license.

How popular is content-disposition?

npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on content-disposition.

Is content-disposition still maintained?

The most recent release of content-disposition (v3.0.0) was published 27 days ago.

Does content-disposition run install scripts?

No. content-disposition does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.