NODE-STATIC(1)
π NAME π
node-static β a streaming file server that is rfc 2616 compliant, bestie. yes fr fr, it streams your files and it follows the rules. iconic behaviour only. π
β¨ SYNOPSIS β¨
node-static [-p <port>] [<directory>]
that's it. that's the whole vibe. π
π OPTIONS π
okay so here's the menu, and every single one of these is a real one, no cap:
--port,-pβ the TCP port at which the files will be served π¦ [default:8080]--cache,-cβ the"Cache-Control"header setting, like how long stuff gets cached πΈ [default:3600]--headers,-Hβ additional headers, but in JSON format π«Ά--header-file,-fβ a JSON file of additional headers, so you don't have to type them all out like a menace π--help,-hβ display help π--version,-vβ shows the node-static version, for the nosy girlies π
lowkey note: if you don't hand it a<directory>, it's just gonna do its thing with the defaults, and that's on8080.
and that's the whole page, bestie!! go stream some files, you're literally the main character of this server π
this little masterpiece is dated January 2014, and it's NODE-STATIC(1) energy through and through β stay slaying, mwah π§π
π¦ where this page comes from
- debian bookworm: node-static 0.7.11+~0.7.7-1 Β· MIT
- debian trixie: node-static 0.7.11+~0.7.7-1 Β· MIT
- ubuntu jammy: node-static 0.7.9-1 Β· MIT
- ubuntu noble: node-static 0.7.11+~0.7.7-1 Β· MIT
- ubuntu questing: node-static 0.7.11+~0.7.7-1
- ubuntu resolute: node-static 0.7.11+~0.7.12-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms