🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

packagespy

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

packagespy - npm Package Compare versions

Comparing version

to
1.0.2

2

package.json
{
"name": "packagespy",
"version": "1.0.1",
"version": "1.0.2",
"description": "A Node.js package to track and monitor npm package download statistics.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,7 +11,7 @@ # PackageSpy

npm install packagespy
```
## Usage
Usage
```
const { getTotalDownloads } = require('packagespy');

@@ -33,8 +33,9 @@

Replace 'your-package-name' with the name of the package you want to fetch statistics for, and 'author-name' with the name of the author whose packages you want to retrieve statistics for.
```
## Features
Features
Total Downloads: Fetch the total number of downloads for a specific npm package.
Total Downloads: Fetch the total number of downloads for a specific npm package.
Download Statistics by Author: Retrieve download statistics for all packages published by a specific author.