Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

write-npmstat

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

write-npmstat

write-npmstat makes it easy to collect, filter and save npm statistics to csv files.

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
Maintainers
1
Weekly downloads
 
Created
Source

npm version CI

About The Project

write-npmstat makes it easy to collect, filter and save npm statistics to csv files.

Installation

write-npmstat requires npm-stat-api, enum, csv-writer, csv-parser and node-fetch packages.

npm install write-npmstat

Usage

const WriteNpmStat = require("write-npmstat").default;

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

writenpmstat.writeNpmStat("2021", "2022-03");

writenpmstat.datePeriod = "month";
writenpmstat.writeNpmStat("2022-01", "2022-04-15");

writenpmstat.writeLastWeekNpmStat();

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

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.

Keywords

FAQs

Package last updated on 26 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc