# @cliz/http-server

> a simple commandline static http server

Latest version **0.3.60** (published 2025-07-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cliz/http-server
pnpm add @cliz/http-server
yarn add @cliz/http-server
bun add @cliz/http-server
```

Provides the commands `http-server`, `cliz-http-server`.

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.60 |
| Published | 2025-07-25 |
| First published | 2020-07-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 20.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | zero |
| Maintainers | uniquecolesmith |
| Keywords | koex, http-server |

## Links

- npm: https://www.npmjs.com/package/@cliz/http-server
- Repository: https://github.com/koexjs/koex
- Homepage: https://github.com/koexjs/koex#readme
- Issues: https://github.com/koexjs/koex/issues
- npm.io page: https://npm.io/package/@cliz/http-server

## Dependencies (10)

- [boxen](https://npm.io/package/boxen.md) ^4.2.0
- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [@cliz/cli](https://npm.io/package/@cliz/cli.md) ^1.0.28
- [@koex/ejs](https://npm.io/package/@koex/ejs.md) ^0.0.1
- [commander](https://npm.io/package/commander.md) ^5.1.0
- [@koex/core](https://npm.io/package/@koex/core.md) ^1.0.1
- [@koex/cors](https://npm.io/package/@koex/cors.md) ^0.0.2
- [@koex/static](https://npm.io/package/@koex/static.md) ^0.13.35
- [qrcode-terminal](https://npm.io/package/qrcode-terminal.md) ^0.12.0

## Recent versions

- 0.3.60 (latest) — 2025-07-25
- 0.3.59 — 2023-08-02
- 0.3.58 — 2023-01-31
- 0.3.57 — 2022-11-02
- 0.3.56 — 2022-10-14
- 0.3.55 — 2022-04-28
- 0.3.54 — 2022-04-27
- 0.3.53 — 2022-04-25
- 0.3.52 — 2022-04-18
- 0.3.51 — 2022-04-17
- 0.3.50 — 2022-04-15
- 0.3.49 — 2022-04-15
- 0.3.48 — 2022-04-15
- 0.3.47 — 2022-04-13
- 0.3.46 — 2022-04-13
- … 67 more at https://npm.io/package/@cliz/http-server/versions

## README

# Static HTTP Server

> A simple commandline static server, powered by cliz

## Usage

```bash
Usage: cliz-http-server [options]

a simple commandline static server

Options:
  -V, --version          output the version number
  -h, --host <PORT>      Listen port
  -p, --port <HOST>      Listen port
  -d, --dir <DIRECTORY>  Listen directory
  -c, --cors             Enable CORS
  -s, --single           Rewrite alk not-found requests to `index.html`
  -C, --cache            Cache files
  --help                 display help for command
```

## LICENSE
MIT

---
_Source: https://npm.io/package/@cliz/http-server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
