Skip to content

Replace got for built-in fetch() API #29

Description

@piranna

Node.js v17.5.0 includes native support for fetch() API. Since Node.js v16 gets EOL in three months, it's safe to fully remove got dependency and use directly the built-in fetch() API. This reduces bundle size and also makes it almost dependencies-free except for the node-rsa dependency, that probably could be removed also by using the built-in crypto library, making the package fully dependencies-free also for the browser.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions