Find a library (with security verdict)
find-libraryResolve a library name to its registry package ID for get-docs, returning a version with no known advisories and a safety verdict.
Instructions
Finds the registry package for a library name ("next.js" -> npm:next, "pytorch" -> pypi:torch) and returns ids for get-docs, with the newest version that has no known advisories (safe) and a verdict. Skip it when you know the registry name: get-docs takes "npm:next" or "pypi:requests" directly, and check-packages takes plain names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What you want to do with it; also used to guess the language. | |
| ecosystem | No | npm, pypi, cargo, go, maven, nuget, rubygems or composer, when you know it. | |
| libraryName | Yes | Library name, e.g. "next.js", "requests", "tokio". |