File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 1- # write-npmstat
1+ # About The Project
2+
23write-npmstat makes it easy to collect, filter and save npm statistics to csv files.
4+
5+ # Installation
6+
7+ write-npmstat requires ` npm-stat-api ` , ` enum ` , ` csv-writer ` and ` csv-parser ` packages.
8+
9+ ``` sh
10+ npm install write-npmstat
11+ ```
12+
13+ # Usage
14+
15+ ``` js
16+ const WriteNpmStat = require (" write-npmstat" );
17+
18+ packageName = " npm-stat-api"
19+ outDir = " stats/npm-stat-api"
20+ const writenpmstat = new WriteNpmStat (packageName, outDir);
21+
22+ writenpmstat .datePeriod = " month" ;
23+ writenpmstat .writeNpmStat (" 2022" , " 2022-03" );
24+ ```
25+
26+ # Contact
27+
28+ Join our [ discussions] ( https://github.com/veghdev/write-npmstat/discussions ) page if you have any questions or comments.
29+
30+ # License
31+
32+ Copyright © 2022.
33+
34+ Released under the [ Apache 2.0 License] ( https://github.com/veghdev/write-npmstat/blob/main/LICENSE ) .
You can’t perform that action at this time.
0 commit comments