Socket
Socket
Sign inDemoInstall

http2-protocol

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

http2-protocol


Version published
Weekly downloads
11
increased by37.5%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

0.7.0 (2013-11-10) ###

  • Upgrade to the latest draft: [draft-ietf-httpbis-http2-07][draft-07]
  • Tarball

Readme

Source

node-http2-protocol

An HTTP/2 (draft-ietf-httpbis-http2-07) framing layer implementaion for node.js.

Installation

npm install http2-protocol

Examples

API

Development

Development dependencies

There's a few library you will need to have installed to do anything described in the following sections. After installing/cloning node-http2, run npm install in its directory to install development dependencies.

Used libraries:

For pretty printing logs, you will also need a global install of bunyan (npm install -g bunyan).

Developer documentation

The developer documentation is located in the doc directory. The docs are usually updated only before releasing a new version. To regenerate them manually, run npm run-script prepublish. There's a hosted version which is located here.

Running the tests

It's easy, just run npm test. The tests are written in BDD style, so they are a good starting point to understand the code.

Test coverage

To generate a code coverage report, run npm test --coverage (it may be slow, be patient). Code coverage summary as of version 0.6.0:

Statements   : 92.39% ( 1165/1261 )
Branches     : 86.57% ( 477/551 )
Functions    : 91.22% ( 135/148 )
Lines        : 92.35% ( 1159/1255 )

There's a hosted version of the detailed (line-by-line) coverage report here.

Logging

Contributors

Code contributions are always welcome! People who contributed to node-http2 so far:

  • Nick Hurley
  • Mike Belshe

Special thanks to Google for financing the development of this module as part of their Summer of Code program (project: HTTP/2 prototype server implementation), and Nick Hurley of Mozilla, my GSoC mentor, who helped with regular code review and technical advices.

License

The MIT License

Copyright (C) 2013 Gábor Molnár gabor@molnar.es

Keywords

FAQs

Last updated on 10 Nov 2013

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc