Socket
Socket
Sign inDemoInstall

http2.js-client

Package Overview
Dependencies
20
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    http2.js-client

Patch http2-client to use custom http2.js (node-http2)


Version published
Weekly downloads
3
Maintainers
1
Install size
18.8 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 10 Mar 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc