quart

0.5.0 • Public • Published

Fastest, baddest and most experimental HTTP/2 framework for Node.js

Gitter chat Build Status Test Coverage

Installation

Install from npm:

npm install quart --save

Note that Quart requires Node 8.4.0 and above with the --expose-http2 for 8.x.x versions.

Write a Quart Http/2 server

const Quart = require('Quart');
const app = new Quart({
  cert: "", // SSL Cert
  key: "" // SSL Key
});
 
app.handle('/', async (stream) => "Hello World!");
 
app.listen(8080);

Features

  • HTTP/2 Streams
  • HTTP/2 Push
  • Multiplexing
  • File serving from fd
  • Async/Await handles
  • Fast router
  • Middleware
  • Static folder serving (planned for 0.5)

Documentation

Refer to Documentation available here or the docs folder.

License

Who doesn't love a MIT license?

Package Sidebar

Install

npm i quart

Weekly Downloads

5

Version

0.5.0

License

MIT

Last publish

Collaborators

  • schahriar