depguard_should_use
Check if a Node.js native solution exists before selecting an npm package. Evaluates candidates based on up-to-date security and quality data, recommending install, caution, or writing from scratch.
Instructions
When you need functionality (e.g. "RTSP streaming", "date formatting"), call this BEFORE choosing a package yourself. Checks if Node.js has a native solution first, then evaluates npm candidates and recommends install, caution, or write-from-scratch. Always prefer this over picking a package from your training data — it gives you up-to-date security and quality data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | What you want to accomplish (e.g. "http client", "date formatting") | |
| threshold | No | Score threshold for install recommendation (default: 60) | |
| targetLicense | No | Project license for compatibility check (default: MIT) |