/request-dependencies

What packages depend on request?

Primary LanguageJavaScript

Request Dependecies

What packages depend on request?

Motivation

I've used request for as long as I've used Node.js. I am attempting to jump in and help maintain it, time permitting.

One of the first things I was intersted in was "Who's using request?"

This will at least partly answer the question.

10 Second Tutorial

Needs Node.js version 10+

$ npm i

$ node run.js

go get a cup of coffee or tea

$ ./sort-results.sh

Results

Results can be viewed in results-sorted.csv

How it works

This is mainly a rebuild of npm-get-top-dependents and npm-get-dependents, which I couldn't quite get working myself.

Dependent packages are pulled from http://skimdb.npmjs.com in batches of 100 at a time, which I can only find docs for here.

It then hits npm's point values API to get the download count for each package for the past 30 days.

It then writes the results to a .csv.

I only include packages that have more than 100 downloads.

Note: I tried to use request for this script but it kept killing the process with an handled error :( .. to be continued