Skip to content

daido1976/pera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pera

CI

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

Deployment

See. https://docs.deno.com/runtime/manual/advanced/publishing/

$ ./scripts/semver-tag-updater.sh

License

MIT

About

Pera is a minimal web framework for Deno.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published