0.1.0 • Published 2 years ago

write-jsdelivrstat v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

npm version CI

About The Project

write-jsdelivrstat makes it easy to collect, filter and save jsdelivr statistics to csv files.

Installation

write-jsdelivrstat requires enum, csv-writer, csv-parser and node-fetch packages.

npm install write-jsdelivrstat

Usage

const WriteJsdelivrStat = require("write-jsdelivrstat").default;

const targetPackage = "npm-stat-api";
const csvDir = "stats/npm-stat-api";
const writejsdelivrstat = new WriteJsdelivrStat(targetPackage, csvDir);

writejsdelivrstat.writeJsdelivrStat("2021", "2022-03");

writejsdelivrstat.datePeriod = "month";
writejsdelivrstat.writeJsdelivrStat("2022-01", "2022-04-15");

Visit our documentation site for code reference or our wiki site for a step-by-step tutorial into write-jsdelivrstat.

Contributing

We welcome contributions to the project, visit our contributing guide for further info.

Contact

Join our discussions page if you have any questions or comments.

License

Copyright © 2022.

Released under the Apache 2.0 License.