[{"data":1,"prerenderedAt":486},["ShallowReactive",2],{"navigation_docs":3,"-guide-cli":72,"-guide-cli-surround":481},[4,40],{"title":5,"path":6,"stem":7,"children":8,"icon":39},"Guide","\u002Fguide","1.guide\u002F1.index",[9,11,15,19,23,27,31,35],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"PURLs","\u002Fguide\u002Fpurl","1.guide\u002F2.purl",{"title":16,"path":17,"stem":18},"Lookups","\u002Fguide\u002Flookups","1.guide\u002F3.lookups",{"title":20,"path":21,"stem":22},"Caching","\u002Fguide\u002Fcache","1.guide\u002F4.cache",{"title":24,"path":25,"stem":26},"CLI","\u002Fguide\u002Fcli","1.guide\u002F5.cli",{"title":28,"path":29,"stem":30},"Agents","\u002Fguide\u002Fagents","1.guide\u002F6.agents",{"title":32,"path":33,"stem":34},"Custom Registries","\u002Fguide\u002Fcustom","1.guide\u002F7.custom",{"title":36,"path":37,"stem":38},"Explorer","\u002Fguide\u002Fexplorer","1.guide\u002F8.explorer","i-lucide-book-open",{"title":41,"path":42,"stem":43,"children":44,"icon":71},"Registries","\u002Fregistries","2.registries\u002F0.index",[45,47,51,55,59,63,67],{"title":46,"path":42,"stem":43},"Overview",{"title":48,"path":49,"stem":50},"npm","\u002Fregistries\u002Fnpm","2.registries\u002F01.npm",{"title":52,"path":53,"stem":54},"crates.io","\u002Fregistries\u002Fcargo","2.registries\u002F02.cargo",{"title":56,"path":57,"stem":58},"PyPI","\u002Fregistries\u002Fpypi","2.registries\u002F03.pypi",{"title":60,"path":61,"stem":62},"RubyGems","\u002Fregistries\u002Frubygems","2.registries\u002F04.rubygems",{"title":64,"path":65,"stem":66},"Packagist","\u002Fregistries\u002Fpackagist","2.registries\u002F05.packagist",{"title":68,"path":69,"stem":70},"Arch Linux","\u002Fregistries\u002Falpm","2.registries\u002F06.alpm","i-lucide-library",{"id":73,"title":24,"body":74,"description":473,"extension":474,"links":475,"meta":476,"navigation":478,"path":25,"seo":479,"stem":26,"__hash__":480},"docs\u002F1.guide\u002F5.cli.md",{"type":75,"value":76,"toc":466},"minimark",[77,82,124,128,146,168,172,276,280,329,352,356,363,371,374,378,455,462],[78,79,81],"h2",{"id":80},"run-it","Run it",[83,84,89],"pre",{"className":85,"code":86,"language":87,"meta":88,"style":88},"language-bash shiki shiki-themes github-light github-light poimandres","pnpm add -g @agntn\u002Fregistries\nregistries info npm\u002Flodash\n","bash","",[90,91,92,112],"code",{"__ignoreMap":88},[93,94,97,101,105,109],"span",{"class":95,"line":96},"line",1,[93,98,100],{"class":99},"sseY5","pnpm",[93,102,104],{"class":103},"sX7Zv"," add",[93,106,108],{"class":107},"sqT1Y"," -g",[93,110,111],{"class":103}," @agntn\u002Fregistries\n",[93,113,115,118,121],{"class":95,"line":114},2,[93,116,117],{"class":99},"registries",[93,119,120],{"class":103}," info",[93,122,123],{"class":103}," npm\u002Flodash\n",[125,126,127],"p",{},"or without installing:",[83,129,131],{"className":85,"code":130,"language":87,"meta":88,"style":88},"npx @agntn\u002Fregistries info cargo\u002Fserde\n",[90,132,133],{"__ignoreMap":88},[93,134,135,138,141,143],{"class":95,"line":96},[93,136,137],{"class":99},"npx",[93,139,140],{"class":103}," @agntn\u002Fregistries",[93,142,120],{"class":103},[93,144,145],{"class":103}," cargo\u002Fserde\n",[125,147,148,149,152,153,156,157,156,160,163,164,167],{},"The ",[90,150,151],{},"pkg:"," scheme is optional on the command line. ",[90,154,155],{},"npm\u002Flodash",", ",[90,158,159],{},"npm\u002F@vue\u002Fcore",[90,161,162],{},"composer\u002Flaravel\u002Fframework@v13.30.1"," and ",[90,165,166],{},"alpm\u002Faur\u002Fparu"," all work.",[78,169,171],{"id":170},"commands","Commands",[173,174,175,188],"table",{},[176,177,178],"thead",{},[179,180,181,185],"tr",{},[182,183,184],"th",{},"Command",[182,186,187],{},"What it prints",[189,190,191,202,216,226,236,246,256,266],"tbody",{},[179,192,193,199],{},[194,195,196],"td",{},[90,197,198],{},"registries info \u003Cpurl>",[194,200,201],{},"Name, latest version, description, license, repository, homepage, docs, registry link, keywords, namespace, ecosystem",[179,203,204,209],{},[194,205,206],{},[90,207,208],{},"registries versions \u003Cpurl>",[194,210,211,212,215],{},"Versions newest first, with status and publish date, twenty by default (",[90,213,214],{},"--limit",")",[179,217,218,223],{},[194,219,220],{},[90,221,222],{},"registries deps \u003Cpurl>",[194,224,225],{},"Dependencies of the given version, grouped by scope; without a version the latest is resolved first",[179,227,228,233],{},[194,229,230],{},[90,231,232],{},"registries maintainers \u003Cpurl>",[194,234,235],{},"Maintainers with login, email and role where the registry has them",[179,237,238,243],{},[194,239,240],{},[90,241,242],{},"registries cache status",[194,244,245],{},"Entry counts and freshness, grouped by ecosystem",[179,247,248,253],{},[194,249,250],{},[90,251,252],{},"registries cache path",[194,254,255],{},"The cache directory",[179,257,258,263],{},[194,259,260],{},[90,261,262],{},"registries cache prune",[194,264,265],{},"Remove stale entries",[179,267,268,273],{},[194,269,270],{},[90,271,272],{},"registries cache clear",[194,274,275],{},"Remove every entry",[78,277,279],{"id":278},"flags","Flags",[173,281,282,292],{},[176,283,284],{},[179,285,286,289],{},[182,287,288],{},"Flag",[182,290,291],{},"Effect",[189,293,294,304,314],{},[179,295,296,301],{},[194,297,298],{},[90,299,300],{},"--json",[194,302,303],{},"Print the normalized object as JSON and nothing else",[179,305,306,311],{},[194,307,308],{},[90,309,310],{},"--no-cache",[194,312,313],{},"Skip the cache for this call, read and write",[179,315,316,323],{},[194,317,318,156,320],{},[90,319,214],{},[90,321,322],{},"-l",[194,324,325,328],{},[90,326,327],{},"versions"," only: how many to show",[125,330,331,333,334,156,337,156,340,343,344,347,348,351],{},[90,332,300],{}," prints exactly what the library returns, so a script that reads it gets the ",[90,335,336],{},"Package",[90,338,339],{},"Version[]",[90,341,342],{},"Dependency[]"," or ",[90,345,346],{},"Maintainer[]"," shape documented under ",[349,350,16],"a",{"href":17},".",[78,353,355],{"id":354},"exit-codes-and-errors","Exit codes and errors",[125,357,358,359,362],{},"The command exits with ",[90,360,361],{},"1"," and one line of reason for the errors the library types:",[83,364,369],{"className":365,"code":367,"language":368,"meta":88},[366],"language-text","✖ Package not found: npm\u002Fdoes-not-exist\n✖ Unknown ecosystem: maven\nℹ Supported: npm, cargo, pypi, gem, composer, alpm\n✖ Invalid PURL: pkg:npm\nℹ Examples: pkg:npm\u002Flodash, npm\u002Flodash@4.17.21, pkg:cargo\u002Fserde\n✖ Rate limited by registry. Retry after 60s\n✖ Registry request failed: HTTP 503 (https:\u002F\u002Fregistry.npmjs.org\u002Flodash)\n","text",[90,370,367],{"__ignoreMap":88},[125,372,373],{},"Anything else is rethrown with its stack, on purpose: an unexpected error is a bug report.",[78,375,377],{"id":376},"examples","Examples",[83,379,381],{"className":85,"code":380,"language":87,"meta":88,"style":88},"registries info alpm\u002Faur\u002Fparu\nregistries versions gem\u002Frails --limit 5\nregistries deps pypi\u002Fflask@3.1.3 --json | jq '.[] | select(.scope == \"runtime\") | .name'\nregistries maintainers composer\u002Flaravel\u002Fframework --no-cache\n",[90,382,383,392,409,441],{"__ignoreMap":88},[93,384,385,387,389],{"class":95,"line":96},[93,386,117],{"class":99},[93,388,120],{"class":103},[93,390,391],{"class":103}," alpm\u002Faur\u002Fparu\n",[93,393,394,396,399,402,405],{"class":95,"line":114},[93,395,117],{"class":99},[93,397,398],{"class":103}," versions",[93,400,401],{"class":103}," gem\u002Frails",[93,403,404],{"class":107}," --limit",[93,406,408],{"class":407},"siHFe"," 5\n",[93,410,412,414,417,420,423,427,430,434,438],{"class":95,"line":411},3,[93,413,117],{"class":99},[93,415,416],{"class":103}," deps",[93,418,419],{"class":103}," pypi\u002Fflask@3.1.3",[93,421,422],{"class":107}," --json",[93,424,426],{"class":425},"s1TYA"," |",[93,428,429],{"class":99}," jq",[93,431,433],{"class":432},"scVjq"," '",[93,435,437],{"class":436},"sQ7BG",".[] | select(.scope == \"runtime\") | .name",[93,439,440],{"class":432},"'\n",[93,442,444,446,449,452],{"class":95,"line":443},4,[93,445,117],{"class":99},[93,447,448],{"class":103}," maintainers",[93,450,451],{"class":103}," composer\u002Flaravel\u002Fframework",[93,453,454],{"class":107}," --no-cache\n",[125,456,148,457,461],{},[349,458,460],{"href":459},"\u002Flookup","Lookup"," explorer shows the equivalent command for every query it runs.",[463,464,465],"style",{},"html pre.shiki code .sseY5, html code.shiki .sseY5{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#91B4D5}html pre.shiki code .sX7Zv, html code.shiki .sX7Zv{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#ADD7FF}html pre.shiki code .sqT1Y, html code.shiki .sqT1Y{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#ADD7FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .siHFe, html code.shiki .siHFe{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#5DE4C7}html pre.shiki code .s1TYA, html code.shiki .s1TYA{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#91B4D5}html pre.shiki code .scVjq, html code.shiki .scVjq{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#A6ACCD}html pre.shiki code .sQ7BG, html code.shiki .sQ7BG{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#5DE4C7}",{"title":88,"searchDepth":114,"depth":114,"links":467},[468,469,470,471,472],{"id":80,"depth":114,"text":81},{"id":170,"depth":114,"text":171},{"id":278,"depth":114,"text":279},{"id":354,"depth":114,"text":355},{"id":376,"depth":114,"text":377},"The registries command, its four lookups, the cache subcommands, and the flags.","md",null,{"icon":477},"i-lucide-terminal",true,{"title":24,"description":473},"sbO6S80YTwqwih1DG1EwLKNm7ctfJq2GWWNAg0DZ1Bg",[482,484],{"title":20,"path":21,"stem":22,"description":483,"children":-1},"The optional cache decorator, its lockfile, the TTL per data type, and how to put it on any unstorage driver.",{"title":28,"path":29,"stem":30,"description":485,"children":-1},"The Vercel AI SDK tool on the \u002Fai subpath, its five operations, and what an agent should and should not do with the answer.",1788462724332]