Skip to content

Discussion: Refactor/Rewrite/Replace some parts of this library #855

Open
@kamikazechaser

Description

@kamikazechaser

This library has some deprecated libraries e.g. request. Node.js has also progressed since when the core of this library was written; It has support for native promises/Async await e.t.c.

Some of the proposals are:

  1. Replace the bloated and deprecated request library with a more light weight alternative. The current proposals include: ethanent/phin, node-fetch/node-fetch, matthew-andrews/isomorphic-fetch, sindresorhus/got .The replacement library should support most of what request supported.

  2. Potentially replace Event Emitter 3 with a better drop in replacement like mcollina/mqemitter or native Event Emitter. This needs more research.

  3. Replace bluebird with native promises/async-await.

  4. Support Node.js v12+ as per LTS schedule. Any feature/polyfill supporting < v12 should be removed.

  5. Replace pump with pipeline.

Feel free to make your own proposals.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions