http2.js-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

🦉 Alex Owl

Dependencies (1)

Dev Dependencies (16)

Package Sidebar

Install

npm i http2.js-client

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

10.2 kB

Total Files

9

Last publish

Collaborators

  • alexowl