quart
v0.5.0
Published
Fastest, baddest and most experimental HTTP/2 framework for Node.js
Downloads
27
Maintainers
Readme
Fastest, baddest and most experimental HTTP/2 framework for Node.js
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?