# NPM Vulnerability Checker for lodash and axios

**Use case:** 

Check npm packages such as lodash, axios, express, and log4js for known OSV vulnerabilities and severity details.

## Input

```json
{
  "packages": [
    "lodash@4.17.20",
    "axios@0.21.1",
    "express@4.17.1",
    "log4js@6.3.0"
  ],
  "includeLow": true,
  "includeDetails": true,
  "maxVulnsPerPackage": 10
}
```

## Output

```json
{
  "packageName": {
    "label": "Package",
    "format": "text"
  },
  "version": {
    "label": "Version",
    "format": "text"
  },
  "vulnerabilityCount": {
    "label": "Total Vulns",
    "format": "number"
  },
  "highestSeverity": {
    "label": "Highest Severity",
    "format": "text"
  },
  "criticalCount": {
    "label": "Critical",
    "format": "number"
  },
  "highCount": {
    "label": "High",
    "format": "number"
  },
  "mediumCount": {
    "label": "Medium",
    "format": "number"
  },
  "lowCount": {
    "label": "Low",
    "format": "number"
  },
  "hasVulnerabilities": {
    "label": "Vulnerable?",
    "format": "boolean"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [NPM Vulnerability Checker](https://apify.com/automation-lab/npm-vulnerability-checker) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/npm-vulnerability-checker) to learn more, explore other use cases, and run it yourself.