# @aurelle/zen

> An immature, absolutely not production ready overlay on top of node's http module

Latest version **0.0.2** (published 2023-08-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install @aurelle/zen
pnpm add @aurelle/zen
yarn add @aurelle/zen
bun add @aurelle/zen
```

## Health

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

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

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2023-08-27 |
| First published | 2023-08-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 33.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | aurelle |

## Links

- npm: https://www.npmjs.com/package/@aurelle/zen
- npm.io page: https://npm.io/package/@aurelle/zen

## Recent versions

- 0.0.2 (latest) — 2023-08-27
- 0.0.1 — 2023-08-27
- 0.0.0 — 2023-08-03

## README

# Zen

An immature, absolutely not production ready overlay on top of node's http module.

Minimalistic and "low latency" express-like http framework.

Use at your (very) own risk.

Built for my own internal projects.

## Starter

Incomplete starter but still highlights basic usage.


```typescript
import { Server } from "zen"; 

export const main = async () => {
	const zen = new Server();

	zen.beforeEach((req, res) => {
		console.log('Before each handler');
	});

	zen.get('/', (req, res) => {
		return {
			message: 'Hello world',
		}
	});

	zen.get('/echo-request', (req, res) => {
		return req;
	});

	zen.listen(3000)
}

main();

```

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