content-disposition is a Node.js module for creating and parsing the HTTP Content-Disposition header. It assists in specifying how content should be treated by the recipient, such as prompting a download with a specific filename. The module provides robust tools to ensure proper encoding and formatting of the header value, handling various character sets and edge cases. Useful for dynamically generating downloads or inline viewing options for web applications.
The content-disposition npm package had frequent releases in late 2014, followed by sporadic updates. Releases occurred in January and December 2016, December 2018, and December 2021. August 2024 saw version 1.0.0. No releases have occurred in 2025 as of August 29th. The release frequency is inconsistent.
The npm package "content-disposition" experienced significant download increases from February 2024 (5.9M) to August 2025 (182.2M). Downloads peaked in July 2025 (213.7M), with a generally upward trend over the period, indicating growing usage despite August 2025 not being a complete month.