depguard_score
Assess npm package quality with a 0-100 score. Vulnerabilities are weighted: critical caps at 30, high at 50, and license compatibility is checked.
Instructions
Quick 0-100 quality score for a package. Faster than depguard_audit when you only need the score. Critical vulns cap at 30, high at 50.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "depguard_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | npm package name | |
| targetLicense | No | Project license for compatibility check (default: MIT) |