Library Documentation (Context)
depsonar_docsFetch up-to-date npm package docs, changelogs, and migration guides from source. Use it before coding to verify APIs and avoid relying on outdated library information.
Instructions
Fetch up-to-date documentation, changelogs, and migration guides for any npm package directly from source (GitHub + npm registry).
Use this BEFORE writing code that depends on a library, to get the latest API docs and avoid hallucinating outdated APIs.
Sections available:
readme: Latest README with API docs, examples, setup instructions
changelog: Recent release notes (last 5 versions) with breaking changes
migration: Migration/upgrade guides (supports Svelte, Next.js, Tailwind, Vite, Stripe, Supabase, Better Auth, etc.)
Combine with a query to focus on a specific topic (e.g. query="runes" for Svelte 5 migration docs).
Examples:
"Get Svelte 5 docs focused on runes migration"
"Show me the Supabase JS changelog"
"What changed in Tailwind CSS v4?"
"Get Better Auth setup docs"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional: specific question or topic to focus docs on (e.g. 'runes migration', 'auth setup', 'streaming'). | |
| package | Yes | Package name to fetch docs for (e.g. 'svelte', '@supabase/supabase-js', 'tailwindcss'). | |
| sections | No | Which sections to fetch: 'all' (default), 'readme', 'changelog', or 'migration'. |