JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q48207F
  • License MIT

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

Package Exports

  • quart

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (quart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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?