Needle-Pinpointing Machine

    http2-got

    1.1.1 • Public • Published

    HTTP2 got

    Greenkeeper badge

    Simplified HTTP requests

    NPM Version Build Status Known Vulnerabilities

    Http2 got is a human-friendly and powerful HTTP1.1 / HTTP2 request library.

    To be http2 compatible it uses http2-client. To make requests it uses got - expect the API to be identical just with http2 support.

    Motivation

    Got is a wonderfull module, it was just missing http2 support that was added with this module.

    When using the module you are actually using the got module not even a fork...

    You can easilly achive it in the same manner without this module:

    const {request} = require('http2-client');
    const got = require('got');
     
    const gotWithHttp2 = got.extend({
        request
    });

    That's it! of course we have additional integration tests to validate this integration...

    Full API Documentation

    The API is identical to this of Got. To see the full API documentation: Got Documentation

    License

    MIT

    Install

    npm i http2-got

    DownloadsWeekly Downloads

    2

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    8.07 kB

    Total Files

    6

    Last publish

    Collaborators

    • hiscojs