Skip to main content
The Deno 2 Release Candidate is here
Learn more

Pera

Pera is a minimal web framework for Deno.

This project is still experimental.

Features

  • Simple method-based HTTP router like express
  • Easy-to-use Request/Response interface inspired by the Next.js API
  • Named parameters
  • Regexp route patterns
  • Static file server
  • Zero external dependencies

Usage

import { Pera } from "https://deno.land/x/pera/mod.ts";

const app = new Pera();

app.get("/", (_req, res) => res.text("Hi!"));

await app.run();

See more examples.

Development

$ deno task dev

License

MIT