NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2108 most downloaded on npm
Serve directory listings
Last release 8 months ago
22 Jan 2026
Ships unpredictably
gaps range from 2 weeks to 8.3 years
Most releases are documented
notes for 29 of 34 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
34 releases · first in 2014
Icons for MIME types containing "+" were not displayed correctly - by @dougwilson in 4e7785c
Icons for MIME types containing "+" were not displayed correctly - by @dougwilson in 4e7785c
fixed where file icons with MIME types containing the "+" character (such as image/svg+xml) were not displayed correctly. The bug occurred during the conversion of the MIME type to a CSS class name, since the "+" symbol is not valid in class names.
Improved error handling for malformed URIs by @rjoonas in #85
The HTTP response status code has been fixed for cases where the server receives a URI that cannot be properly decoded. It now returns a 400 (Bad Request) error instead of a 500 (Internal Server Error), more accurately reflecting that the issue is with the client’s request rather than the server itself.
Sorting in text/plain and application/json responses by @dougwilson in 002a251
Show font icon for more font types - by @dougwilson in 9d29665
Support has been expanded to display the font icon in directory listings. Now all font file formats will automatically show the corresponding icon, instead of only a few specific formats as before.
Full Changelog: https://github.com/expressjs/serve-index/compare/v1.9.1...v1.9.2
One column per quarter.
Icons for MIME types containing "+" were not displayed correctly - by @dougwilson in 4e7785c
fixed where file icons with MIME types containing the "+" character (such as image/svg+xml) were not displayed correctly. The bug occurred during the conversion of the MIME type to a CSS class name, since the "+" symbol is not valid in class names.
Improved error handling for malformed URIs by @rjoonas in #85
The HTTP response status code has been fixed for cases where the server receives a URI that cannot be properly decoded. It now returns a 400 (Bad Request) error instead of a 500 (Internal Server Error), more accurately reflecting that the issue is with the client’s request rather than the server itself.
Sorting in text/plain and application/json responses by @dougwilson in 002a251
Show font icon for more font types - by @dougwilson in 9d29665
Support has been expanded to display the font icon in directory listings. Now all font file formats will automatically show the corresponding icon, instead of only a few specific formats as before.
Full Changelog: v1.9.1...v1.9.2
perf: reduce overhead for full URLs
RegExpDeprecated DEBUG_FD environment variable set to 3 or higher
X-Content-Type-Options: nosniff header
DEBUG_FD environment variable set to 3 or higherDEBUG_MAX_ARRAY_LENGTHmessage property enumerable for HttpErrorsaudio/mp3Make inline file search case-insensitive
setprototypeof module to replace __proto__ settingaudio/mp4Fix invalid dependency for browserify
- deps: accepts@~1.2.12 - deps: mime-types@~2.1.4 - deps: mime-types@~2.1.4 - Add new mime types
- deps: accepts@~1.2.10 - deps: mime-types@~2.1.2 - deps: mime-types@~2.1.2 - Add new mime types
Accept function value for template option
function value for template optionOPTIONSDate.prototype.toLocaleDateString to format date- deps: accepts@~1.2.7 - deps: mime-types@~2.0.11 - deps: negotiator@0.5.3 - deps: debug@~2.2.0 - deps: ms@0.7.1 - deps: mime-types@~2.0.11 - Add new
Properly escape file names in HTML
Construct errors using defined constructors from createError
createErrorname property on constructed errors- deps: accepts@~1.2.3 - deps: mime-types@~2.0.8 - deps: mime-types@~2.0.8 - Add new mime types - deps: mime-db@~1.6.0
Fix various invalid MIME type entries
Fix stack trace from exported function
Fix icon name background alignment on mobile view
- deps: accepts@~1.1.3 - deps: mime-types@~2.0.3 - deps: mime-types@~2.0.3 - Add new mime types - deps: mime-db@~1.2.0
Implement DEBUG_FD env variable support
http-errorsDEBUG_FD env variable supportFix error when media type has invalid parameter
Add dir argument to filter function
dir argument to filter functionFix incorrect 403 on Windows and Node.js 0.11
Lookup icon by mime type for greater icon support
- deps: accepts@~1.1.0 - deps: debug@~2.0.0
Resolve relative paths at middleware setup
debug messages- Fix URL parsing - deps: parseurl@~1.3.0
Fix Content-Length calculation for multi-byte file names
Nothing published for this version
- deps: accepts@~1.0.4 - use mime-types
mime-typesNothing published for this version
Nothing published for this version
Fix content negotiation when no Accept header
Accept headerENAMETOOLONG as code 414Fix error from non-statable files in HTML view
Add stylesheet option deps: negotiator@0.4.3
Add stylesheet option deps: negotiator@0.4.3
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →