# flummpress

> Express für arme

Latest version **2.0.7** (published 2023-05-02) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2.0.7 |
| Published | 2023-05-02 |
| First published | 2020-03-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Flummi |
| Maintainers | flummi, jkhsjdhjs |

## Links

- npm: https://www.npmjs.com/package/flummpress
- Repository: gitea@git.lat:keinBot/flummpress
- Homepage: https://git.lat/keinBot/flummpress#readme
- Issues: https://git.lat/keinBot/flummpress/issues
- npm.io page: https://npm.io/package/flummpress

## Recent versions

- 2.0.7 (latest) — 2023-05-02
- 2.0.6 — 2023-04-26
- 2.0.5 — 2022-05-04
- 2.0.4 — 2022-03-27
- 2.0.3 — 2022-03-26
- 2.0.2 — 2022-03-24
- 2.0.1 — 2021-12-25
- 2.0.0 — 2021-12-04
- 1.0.3 — 2020-04-01
- 1.0.2 — 2020-03-23
- 1.0.1 — 2020-03-23
- 1.0.0 — 2020-03-22

## README

# flummpress

## Usage Example
```javascript
import path from "path";
import flummpress, { router, views } from "flummpress";

(async () => {
  const port = 8080;
  (await new flummpress())
    .listen(port)
    .on("listening", () => {
      console.log(`flummpress is listening on port ${port}`);

      // new route GET
      router.get(/^\/$/, (req, res) => {
        res.reply({
          body: "hello world!"
        });
      });

      // new route POST
      router.post(/^\/$/, async (req, res) => {
        const postdata = await req.post;
        console.log(postdata);
        res.reply({
          body: "hello post!"
        });
      });

      // public folder
      router.static({
        dir: path.resolve() + "/public",
        route: /^\/public/
      });
    });
})();
```

## documentation

coming soon

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