# Monitor New npm Packages in a Niche

**Use case:** 

Track an npm search and emit only new packages or new versions each run — pair with a schedule to watch a niche for fresh releases. Export to CSV.

## Input

```json
{
  "searchQueries": [
    "ai agents"
  ],
  "maxResults": 100,
  "includeDownloads": true,
  "includeDetails": false,
  "includeDependencies": false,
  "onlyWithEmail": false,
  "onlyWithRepository": false,
  "minMonthlyDownloads": 0,
  "monitorMode": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "name": {
    "label": "Package",
    "format": "text"
  },
  "version": {
    "label": "Version",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "monthlyDownloads": {
    "label": "Monthly downloads",
    "format": "number"
  },
  "dependentsCount": {
    "label": "Dependents",
    "format": "number"
  },
  "maintainerCount": {
    "label": "Maintainers",
    "format": "number"
  },
  "license": {
    "label": "License",
    "format": "text"
  },
  "githubRepo": {
    "label": "GitHub",
    "format": "text"
  },
  "homepage": {
    "label": "Homepage",
    "format": "link"
  },
  "leadScore": {
    "label": "Lead score",
    "format": "number"
  },
  "npmUrl": {
    "label": "npm",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [npm Scraper - Packages, Downloads & Maintainer Leads](https://apify.com/scrapesage/npm-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapesage/npm-scraper) to learn more, explore other use cases, and run it yourself.