---
name: "node-static"
section: "1"
platform: "linux"
package: "node-static"
version: "0.7.11+~0.7.7-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/node-static"
---

# node-static(1)

rfc 2616 compliant streaming file server

## NAME

**node-static** - rfc 2616 compliant streaming file server

## SYNOPSIS

```
node-static [-p <port>] [<directory>]
```

## OPTIONS

- •

  \--port, -p\
   TCP port at which the files will be served\
   \[default: 8080\]

- •

  \--cache, -c\
   "Cache-Control" header setting\
   \[default: 3600\]

- •

  \--headers, -H\
   additional headers in JSON format

- •

  \--header-file, -f\
   JSON file of additional headers

- •

  \--help, -h\
   display help

- •

  \--version, -v\
   node-static version
