Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
http2-protocol
Advanced tools
An HTTP/2 (draft-ietf-httpbis-http2-09) framing layer implementaion for node.js.
npm install http2-protocol
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
).
The developer documentation is generated from the source code using docco and can be viewed online
here. If you'd like to have an offline copy,
just run npm run-script doc
.
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.
To generate a code coverage report, run npm test --coverage
(it may be slow, be patient).
Code coverage summary as of version 0.9.0:
Statements : 92.43% ( 1257/1360 )
Branches : 86.36% ( 500/579 )
Functions : 90.12% ( 146/162 )
Lines : 92.39% ( 1251/1354 )
There's a hosted version of the detailed (line-by-line) coverage report here.
Code contributions are always welcome! People who contributed to node-http2 so far:
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.
The MIT License
Copyright (C) 2013 Gábor Molnár gabor@molnar.es
0.9.1 (2014-01-11) ###
FAQs
A JavaScript implementation of the HTTP/2 framing layer
The npm package http2-protocol receives a total of 4 weekly downloads. As such, http2-protocol popularity was classified as not popular.
We found that http2-protocol demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.