This repository searches the npm graph for the most popular "module" packages.
Based on @anvaka/npmrank.
git clone https://github.com/pikapkg/analyze-npm.git
cd analyze-npm
npm install
./01_get_graph.sh
This will download graph from skimdb and save it to data
folder. As of
September 2016 this data is about 500MB.
node --max-old-space-size=4096 02_analyze_new.js
Convert it to ngraph.graph
format
for further analysis.
node --max-old-space-size=4096 02_create_graph.js
You are now ready to analyze the graph.
node --max-old-space-size=4096 03_analyze_historical.js
node --max-old-space-size=4096 04_collect_historical.js
node --max-old-space-size=4096 04_collect_historical_npm.js
This will write out a dictionary of "module" packages on npm, to the file called found-modules.json
.