node-static

RFC2616 compliant HTTP static-file server module with caching

Install

All systems
curl cmd.cat/node-static.sh
Debian Debian
apt-get install node-static
Ubuntu
apt-get install node-static
image/svg+xml Kali Linux
apt-get install node-static
Windows (WSL2)
sudo apt-get update sudo apt-get install node-static
Raspbian
apt-get install node-static

node-static

RFC2616 compliant HTTP static-file server module with caching

node-static has an in-memory file cache, making it highly efficient. It understands and supports conditional GET and HEAD requests. It was inspired by some of the other static-file serving modules, such as node-paperboy and antinode. Node.js is an event-based server-side javascript engine.