http2.js-client
v1.0.0
Published
Patch http2-client to use custom http2.js (node-http2)
Downloads
15
Maintainers
Readme
http2.js-client
❓ Why?
NodeJS http2 implementation uses binding to C++ lib, it is not even exported to user land
http2.js is custom http2 implementation, pure coded using js and gives you access to frames, flow and other http2 advantages
You can also track (and modify) tcp packets (NodeJS does not allow)
💿 Installation
Install peer dependencies (http2.js, http2-client)
npm i http2.js http2-client
Install module
npm i htt2.js-client
You can use any modules based on peers
npm i h2-request
📖 Usage
// first of all, import this module
// it works like patcher
import "http2.js-client";
require("http2.js-client"); // ES5
// then import http2-client or any lib based on http2-client
import { get } from "http2-client";
import request from "h2-request";
🌈 Module
This module does not contain any exports
If you want modify code, just fork repo
📝 License
Released under MIT license