New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

quart

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quart

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

latest
Source
npmnpm
Version
0.5.0
Version published
Maintainers
1
Created
Source

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?

Keywords

http/2

FAQs

Package last updated on 19 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts