This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

unflare
TypeScript icon, indicating that this package has built-in type declarations

2.1.3 • Public • Published

Unflare (v2)

Just another express-inspired web framework for serverless like cloudflare's workers.

npm bundle size npm version node-current

import { Unflare } from 'unflare';

const app = new Unflare();

app.get('/', () => {
  const { res } = app;
  res.send('Hello World!');
});

export default app;

Installation

Requires at least Node v18, but preferably Node v19 or latest.

This module is intended to be use for cloudflare's workers to help manage routing and handling of request. To avoid issues, install this after creating your wrangler/workers project.

Installation is done using the npm install command:

$ npm install unflare

Features

  • specifically for cloudflare's workers.
  • write like you would with express.
  • treeshakeable and ES6 compliant.
  • scoped and recursive handling of middlewares, routers, routes and error handlers.
  • auto extraction of queries, params, cookies and body of request.

GUIDES

Package Sidebar

Install

npm i unflare

Weekly Downloads

0

Version

2.1.3

License

MIT

Unpacked Size

42.6 kB

Total Files

36

Last publish

Collaborators

  • sirjhep