npmTrends
Analyze npm package download trends and popularity metrics over specific periods to compare packages and make informed decisions.
Instructions
Get download trends and popularity metrics for packages
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | Yes | List of package names to get trends for | |
| period | No | Time period for trends. Options: "last-week", "last-month", "last-year" | last-month |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"packages": {
"description": "List of package names to get trends for",
"items": {
"type": "string"
},
"type": "array"
},
"period": {
"default": "last-month",
"description": "Time period for trends. Options: \"last-week\", \"last-month\", \"last-year\"",
"enum": [
"last-week",
"last-month",
"last-year"
],
"type": "string"
}
},
"required": [
"packages"
],
"type": "object"
}