# echoing

> Simple HTTP server that dumps incoming requests onto the command line.

Latest version **1.2.1** (published 2018-03-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install echoing
pnpm add echoing
yarn add echoing
bun add echoing
```

Provides the command `echoing`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2018-03-28 |
| First published | 2018-03-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 8.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Rico A. Beti |
| Maintainers | silentbyte |
| Keywords | HTTP, Server, REST, RESTful, JSON, requests |

## Links

- npm: https://www.npmjs.com/package/echoing
- Repository: https://github.com/SilentByte/echoing
- Homepage: https://github.com/SilentByte/echoing#readme
- Issues: https://github.com/SilentByte/echoing/issues
- npm.io page: https://npm.io/package/echoing

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^2.3.2
- [argparse](https://npm.io/package/argparse.md) ^1.0.10

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.2.1 (latest) — 2018-03-28
- 1.2.0 — 2018-03-28
- 1.1.0 — 2018-03-28
- 1.0.0 — 2018-03-27

## README

Echoing
=======
[![MIT License](https://img.shields.io/badge/license-MIT%20License-blue.svg)](https://opensource.org/licenses/MIT) [![npm](https://img.shields.io/npm/v/echoing.svg)](https://www.npmjs.com/package/echoing)


Simple HTTP server that dumps incoming requests onto the command line.


## Installation

Install `echoing` globally:

```
npm install -g echoing
```


## Usage

The server can be started by calling `echoing` on the command line. If no serve directory is specified, the server will serve files located in the current working directory. 

An optional port number on which the server will listen may be specified using the `-p` or `--port` option (default: 3000). Color output is enabled by default but can be turned off with the `--no-color` flag. Specify `--no-bounce` to prevent the server from bouncing back the request body and `--no-serve` to prevent any local files from being served.

```
$ echoing.js [-h] [-v] [-p PORT] [--no-bounce] [--no-serve] [--no-color]
                  [dir]

Simple HTTP server that dumps incoming requests onto the command line.

Positional arguments:
  dir                   The server's working directory.

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  -p PORT, --port PORT  Set the server's port (default: 3000).
  --no-bounce           Do not bounce request body back to sender.
  --no-serve            Do not attempt to serve local files on GET requests.
  --no-color            Do not print any colors.
```


## License

MIT, see [LICENSE.txt](LICENSE.txt) for more information.

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