
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
mod_autoindex
Advanced tools
Generates directory indexes, automatically, similar to the Unix ls command or the Win32 dir shell command; with memoization.
In combination with serve-static.
Display index of given root directory, like https://code.angularjs.org/2.0.0-alpha.30/ or apache2 mod_autoindex
Install through NPM
npm install mod_autoindex
or
git clone git://github.com/hex7c0/mod_autoindex.git
inside expressjs project
var autoindex = require('mod_autoindex');
var app = require('express')();
app.use(autoindex(__dirname));
root - String Index given root directory (default "required")exclude - RegExp Regular expression for files/dirs exclude (default "disabled")dotfiles- Boolean Flag for hide dotfiles (default "true")date - Boolean Flag for display modification time (default "true")size - Boolean Flag for display files size (default "true")priority - Boolean Flag for display dirs before files (default "true")cache - Boolean Flag for using cache (depends from mtime dir) (default "true")strictMethod - Boolean Flag for show "HEAD" and "GET" HTTP methods only (default "false")sync - Boolean Flag for using "sync" methods instead of callback (default "false")json - Boolean Flag for display json output instead of html (default "false")static - Object | false Options for serve-static or disable support (if you use static server like nginx) (default "{}")Take a look at my examples
FAQs
generates directory indexes, automatically, with memoization
The npm package mod_autoindex receives a total of 3 weekly downloads. As such, mod_autoindex popularity was classified as not popular.
We found that mod_autoindex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.