Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
check-stats-modules
Advanced tools
check-stats-modules(csm) is is a CLI application that obtains the specified npm module's stats. After specifying the module name and period, the number of downloads during that period is acquired and displayed on the terminal.
__ __ __ __ __ __
_____ / /_ ___ _____ / /__ _____ / /_ ____ _ / /_ _____ ____ ___ ____ ____/ / __ __ / / ___ _____
/ ___/ / __ \ / _ \ / ___/ / //_/ ______ / ___/ / __/ / __ `/ / __/ / ___/ ______ / __ `__ \ / __ \ / __ / / / / / / / / _ \ / ___/
/ /__ / / / // __// /__ / ,< /_____/ (__ ) / /_ / /_/ / / /_ (__ ) /_____/ / / / / / // /_/ // /_/ / / /_/ / / / / __/ (__ )
\___/ /_/ /_/ \___/ \___/ /_/|_| /____/ \__/ \__,_/ \__/ /____/ /_/ /_/ /_/ \____/ \__,_/ \__,_/ /_/ \___/ /____/
check-stats-modules (csm)
is a CLI application that obtains the specified npm module's stats. After specifying the module name and period, the number of downloads during that period is acquired and displayed on the terminal.
$ npm install -g check-stats-modules
note: If the -e
option(end date) is not specified, today's date is automatically specified.
$ csm check-stats-modules
╔═════════════════════╤════════════╤════════════╤═══════════╗
║ package ║ start ║ end ║ downloads ║
╟─────────────────────┼────────────┼────────────┼───────────╢
║ check-stats-modules ║ 2023-11-03 ║ 2023-11-04 ║ 0 ║
╚═════════════════════╧════════════╧════════════╧═══════════╝
$ csm cmd-ranking check-stats-modules -s 2020-06-01
╔═════════════════════╤════════════╤════════════╤═══════════╗
║ package ║ start ║ end ║ downloads ║
╟─────────────────────┼────────────┼────────────┼───────────╢
║ check-stats-modules ║ 2020-06-01 ║ 2023-11-04 ║ 1249 ║
╟─────────────────────┼────────────┼────────────┼───────────╢
║ cmd-ranking ║ 2020-06-01 ║ 2023-11-04 ║ 1140 ║
╚═════════════════════╧════════════╧════════════╧═══════════╝
$ csm cmd-ranking check-stats-modules -m
╔═════════════════════╤════════════╤════════════╤═══════════╗
║ package ║ start ║ end ║ downloads ║
╟─────────────────────┼────────────┼────────────┼───────────╢
║ check-stats-modules ║ 2023-10-04 ║ 2023-11-04 ║ 223 ║
╟─────────────────────┼────────────┼────────────┼───────────╢
║ cmd-ranking ║ 2023-10-04 ║ 2023-11-04 ║ 115 ║
╚═════════════════════╧════════════╧════════════╧═══════════╝
If you need total count of specified modules, you can use -T
or --total
option.
$ csm cmd-ranking check-stats-modules -m -T
╔═════════════════════╤════════════╤════════════╤═══════════╗
║ package ║ start ║ end ║ downloads ║
╟─────────────────────┼────────────┼────────────┼───────────╢
║ check-stats-modules ║ 2023-10-23 ║ 2023-11-23 ║ 201 ║
╟─────────────────────┼────────────┼────────────┼───────────╢
║ cmd-ranking ║ 2023-10-23 ║ 2023-11-23 ║ 18 ║
╟─────────────────────┼────────────┼────────────┼───────────╢
║ Total ║ 2023-10-23 ║ 2023-11-23 ║ 219 ║
╚═════════════════════╧════════════╧════════════╧═══════════╝
--version Show version number [boolean]
-s, --start Specify the start of the period to be counted
-e, --end Specify the end of the period to be counted
-y, --year Set "from" 1 year [boolean]
-t, --this-year Set "from" January 1 of this year [boolean]
-m, --month Set "from" 1 month [boolean]
-w, --week Set "from" 1 week [boolean]
-T, --total Show the total count of specified modules [boolean]
-h, --help Show help [boolean]
FAQs
check-stats-modules(csm) is is a CLI application that obtains the specified npm module's stats. After specifying the module name and period, the number of downloads during that period is acquired and displayed on the terminal.
We found that check-stats-modules demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.