Get in touchContact
Open source

native-request

A Node.js HTTP request module with no external dependency, maintained for several years. Around 2.6 million downloads a month.

TypeOpen source
PeriodOngoing
RoleAuthor and maintainer
TechnologiesNode.js · npm

The context

Node.js ships everything you need to make HTTP requests, but the native API is verbose. Most projects install a library for it, and inherit its dependencies.

What I did

I wrote a module that exposes a simple interface on top of the native API, with no external dependency at all. It handles HTTP and HTTPS, redirects and the usual errors. I publish it on npm under the MIT licence and I maintain it: releases, fixes, compatibility with new Node versions.

In short

The module is downloaded around 2.6 million times a month and is itself a dependency of other published packages.

Visit the project →