[{"data":1,"prerenderedAt":830},["ShallowReactive",2],{"navigation_docs":3,"-guide-badges":84,"-guide-badges-surround":825},[4,21,57,73],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":20},"Getting Started","i-lucide:rocket","/getting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","/getting-started/introduction","1.getting-started/1.introduction","i-lucide:house",{"title":16,"path":17,"stem":18,"icon":19},"Quick Start","/getting-started/quick-start","1.getting-started/2.quick-start","i-lucide:zap",false,{"title":22,"icon":23,"path":24,"stem":25,"children":26,"page":20},"Guide","i-lucide:book-open","/guide","2.guide",[27,32,37,42,47,52],{"title":28,"path":29,"stem":30,"icon":31},"Features","/guide/features","2.guide/1.features","i-lucide:sparkles",{"title":33,"path":34,"stem":35,"icon":36},"Keyboard Shortcuts","/guide/keyboard-shortcuts","2.guide/2.keyboard-shortcuts","i-lucide:keyboard",{"title":38,"path":39,"stem":40,"icon":41},"URL Structure","/guide/url-structure","2.guide/3.url-structure","i-lucide:link",{"title":43,"path":44,"stem":45,"icon":46},"VS Code Extension","/guide/vscode-extension","2.guide/4.vscode-extension","i-simple-icons-visualstudiocode",{"title":48,"path":49,"stem":50,"icon":51},"Semver Ranges","/guide/semver-ranges","2.guide/5.semver-ranges","i-lucide-filter",{"title":53,"path":54,"stem":55,"icon":56},"Badges","/guide/badges","2.guide/6.badges","i-lucide:badge",{"title":58,"icon":59,"path":60,"stem":61,"children":62,"page":20},"FAQ","i-lucide:circle-help","/faq","3.faq",[63,68],{"title":64,"path":65,"stem":66,"icon":67},"Troubleshooting","/faq/troubleshooting","3.faq/1.troubleshooting","i-lucide:wrench",{"title":69,"path":70,"stem":71,"icon":72},"Comparison","/faq/comparison","3.faq/2.comparison","i-lucide:git-compare",{"title":74,"icon":75,"path":76,"stem":77,"children":78,"page":20},"Integrations","i-lucide:cable","/integrations","4.integrations",[79],{"title":80,"path":81,"stem":82,"icon":83},"Atmosphere","/integrations/atmosphere","4.integrations/1.atmosphere","i-lucide:cloudy",{"id":85,"title":53,"body":86,"description":819,"extension":291,"links":820,"meta":821,"navigation":822,"path":54,"seo":823,"stem":55,"__hash__":824},"docs/2.guide/6.badges.md",{"type":87,"value":88,"toc":807},"minimark",[89,93,96,101,282,286,512,516,519,522,525,537,543,546,563,568,571,584,590,597,613,618,624,638,695,699,706,722,776,781,788,804],[90,91,92],"p",{},"npmx.dev offers many different SVG badges with stats about any package via its API. You can get the Markdown code to display an accessible badge which links to the package URL on npmx.dev with the following interactive generator:",[94,95],"badge-generator",{},[97,98,100],"h2",{"id":99},"available-badge-types","Available Badge Types",[102,103,104,121,131,141,151,160,169,178,187,201,211,221,230,240,252,261,273],"ul",{},[105,106,107,111,112],"li",{},[108,109,110],"strong",{},"version",": Shows the latest or specific version of the package. ",[113,114],"img",{"className":115,"src":120},[116,117,118,119],"inline","align-middle","h-5","w-14","https://img.shields.io/badge/%233b82f6-3b82f6",[105,122,123,126,127],{},[108,124,125],{},"license",": Displays the package license (e.g., MIT, Apache-2.0). ",[113,128],{"className":129,"src":130},[116,117,118,119],"https://img.shields.io/badge/%2322c55e-22c55e",[105,132,133,136,137],{},[108,134,135],{},"size",": Shows the install size (via Bundlephobia) or unpacked size. ",[113,138],{"className":139,"src":140},[116,117,118,119],"https://img.shields.io/badge/%23a855f7-a855f7",[105,142,143,146,147],{},[108,144,145],{},"downloads",": Displays monthly download statistics. ",[113,148],{"className":149,"src":150},[116,117,118,119],"https://img.shields.io/badge/%23f97316-f97316",[105,152,153,156,157],{},[108,154,155],{},"downloads-day",": Displays daily download statistics. ",[113,158],{"className":159,"src":150},[116,117,118,119],[105,161,162,165,166],{},[108,163,164],{},"downloads-week",": Displays weekly download statistics. ",[113,167],{"className":168,"src":150},[116,117,118,119],[105,170,171,174,175],{},[108,172,173],{},"downloads-month",": Alias for monthly download statistics. ",[113,176],{"className":177,"src":150},[116,117,118,119],[105,179,180,183,184],{},[108,181,182],{},"downloads-year",": Displays yearly download statistics. ",[113,185],{"className":186,"src":150},[116,117,118,119],[105,188,189,192,193,196,197],{},[108,190,191],{},"vulnerabilities",": Shows the number of vulnerabilities found via OSV. ",[113,194],{"className":195,"src":130},[116,117,118,119]," / ",[113,198],{"className":199,"src":200},[116,117,118,119],"https://img.shields.io/badge/%23ef4444-ef4444",[105,202,203,206,207],{},[108,204,205],{},"dependencies",": Lists the total count of package dependencies. ",[113,208],{"className":209,"src":210},[116,117,118,119],"https://img.shields.io/badge/%2306b6d4-06b6d4",[105,212,213,216,217],{},[108,214,215],{},"created",": Displays the date the package was first published. ",[113,218],{"className":219,"src":220},[116,117,118,119],"https://img.shields.io/badge/%2364748b-64748b",[105,222,223,226,227],{},[108,224,225],{},"updated",": Displays the date of the most recent modification. ",[113,228],{"className":229,"src":220},[116,117,118,119],[105,231,232,235,236],{},[108,233,234],{},"engines",": Shows the supported Node.js version range. ",[113,237],{"className":238,"src":239},[116,117,118,119],"https://img.shields.io/badge/%23eab308-eab308",[105,241,242,245,246,196,249],{},[108,243,244],{},"types",": Indicates if TypeScript types are included. ",[113,247],{"className":248,"src":120},[116,117,118,119],[113,250],{"className":251,"src":220},[116,117,118,119],[105,253,254,257,258],{},[108,255,256],{},"maintainers",": Displays the total count of package maintainers. ",[113,259],{"className":260,"src":210},[116,117,118,119],[105,262,263,266,267,196,270],{},[108,264,265],{},"deprecated",": Shows if the package is active or deprecated. ",[113,268],{"className":269,"src":130},[116,117,118,119],[113,271],{"className":272,"src":200},[116,117,118,119],[105,274,275,278,279],{},[108,276,277],{},"name",": Simple badge displaying the package name. ",[113,280],{"className":281,"src":220},[116,117,118,119],[97,283,285],{"id":284},"examples","Examples",[287,288,293],"pre",{"className":289,"code":290,"language":291,"meta":292,"style":292},"language-md shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Version Badge\n\n[![Open on npmx.dev](https://npmx.dev/api/registry/badge/version/nuxt)](https://npmx.dev/package/nuxt)\n\n# License Badge\n\n[![Open on npmx.dev](https://npmx.dev/api/registry/badge/license/vue)](https://npmx.dev/package/vue)\n\n# Monthly Downloads\n\n[![Open on npmx.dev](https://npmx.dev/api/registry/badge/downloads/lodash)](https://npmx.dev/package/lodash)\n\n# Scoped Package (Install Size)\n\n[![Open on npmx.dev](https://npmx.dev/api/registry/badge/size/@nuxt/kit)](https://npmx.dev/package/@nuxt/kit)\n\n# Specific Version\n\n[![Open on npmx.dev](https://npmx.dev/api/registry/badge/version/react/v/18.0.0)](https://npmx.dev/package/react)\n","md","",[294,295,296,309,316,348,353,361,366,389,394,402,407,430,435,443,448,471,476,484,489],"code",{"__ignoreMap":292},[297,298,301,305],"span",{"class":299,"line":300},"line",1,[297,302,304],{"class":303},"sMK4o","# ",[297,306,308],{"class":307},"sBMFI","Version Badge\n",[297,310,312],{"class":299,"line":311},2,[297,313,315],{"emptyLinePlaceholder":314},true,"\n",[297,317,319,322,325,329,332,336,339,341,345],{"class":299,"line":318},3,[297,320,321],{"class":303},"[",[297,323,324],{"class":303},"![",[297,326,328],{"class":327},"sfazB","Open on npmx.dev",[297,330,331],{"class":303},"](",[297,333,335],{"class":334},"sDClJ","https://npmx.dev/api/registry/badge/version/nuxt",[297,337,338],{"class":303},")",[297,340,331],{"class":303},[297,342,344],{"class":343},"sDpXG","https://npmx.dev/package/nuxt",[297,346,347],{"class":303},")\n",[297,349,351],{"class":299,"line":350},4,[297,352,315],{"emptyLinePlaceholder":314},[297,354,356,358],{"class":299,"line":355},5,[297,357,304],{"class":303},[297,359,360],{"class":307},"License Badge\n",[297,362,364],{"class":299,"line":363},6,[297,365,315],{"emptyLinePlaceholder":314},[297,367,369,371,373,375,377,380,382,384,387],{"class":299,"line":368},7,[297,370,321],{"class":303},[297,372,324],{"class":303},[297,374,328],{"class":327},[297,376,331],{"class":303},[297,378,379],{"class":334},"https://npmx.dev/api/registry/badge/license/vue",[297,381,338],{"class":303},[297,383,331],{"class":303},[297,385,386],{"class":343},"https://npmx.dev/package/vue",[297,388,347],{"class":303},[297,390,392],{"class":299,"line":391},8,[297,393,315],{"emptyLinePlaceholder":314},[297,395,397,399],{"class":299,"line":396},9,[297,398,304],{"class":303},[297,400,401],{"class":307},"Monthly Downloads\n",[297,403,405],{"class":299,"line":404},10,[297,406,315],{"emptyLinePlaceholder":314},[297,408,410,412,414,416,418,421,423,425,428],{"class":299,"line":409},11,[297,411,321],{"class":303},[297,413,324],{"class":303},[297,415,328],{"class":327},[297,417,331],{"class":303},[297,419,420],{"class":334},"https://npmx.dev/api/registry/badge/downloads/lodash",[297,422,338],{"class":303},[297,424,331],{"class":303},[297,426,427],{"class":343},"https://npmx.dev/package/lodash",[297,429,347],{"class":303},[297,431,433],{"class":299,"line":432},12,[297,434,315],{"emptyLinePlaceholder":314},[297,436,438,440],{"class":299,"line":437},13,[297,439,304],{"class":303},[297,441,442],{"class":307},"Scoped Package (Install Size)\n",[297,444,446],{"class":299,"line":445},14,[297,447,315],{"emptyLinePlaceholder":314},[297,449,451,453,455,457,459,462,464,466,469],{"class":299,"line":450},15,[297,452,321],{"class":303},[297,454,324],{"class":303},[297,456,328],{"class":327},[297,458,331],{"class":303},[297,460,461],{"class":334},"https://npmx.dev/api/registry/badge/size/@nuxt/kit",[297,463,338],{"class":303},[297,465,331],{"class":303},[297,467,468],{"class":343},"https://npmx.dev/package/@nuxt/kit",[297,470,347],{"class":303},[297,472,474],{"class":299,"line":473},16,[297,475,315],{"emptyLinePlaceholder":314},[297,477,479,481],{"class":299,"line":478},17,[297,480,304],{"class":303},[297,482,483],{"class":307},"Specific Version\n",[297,485,487],{"class":299,"line":486},18,[297,488,315],{"emptyLinePlaceholder":314},[297,490,492,494,496,498,500,503,505,507,510],{"class":299,"line":491},19,[297,493,321],{"class":303},[297,495,324],{"class":303},[297,497,328],{"class":327},[297,499,331],{"class":303},[297,501,502],{"class":334},"https://npmx.dev/api/registry/badge/version/react/v/18.0.0",[297,504,338],{"class":303},[297,506,331],{"class":303},[297,508,509],{"class":343},"https://npmx.dev/package/react",[297,511,347],{"class":303},[97,513,515],{"id":514},"customization-parameters","Customization Parameters",[90,517,518],{},"You can further customize your badges by appending query parameters to the badge URL.",[90,520,521],{},"Use this generator to get the Markdown code you desire:",[523,524],"badge-generator-parameters",{},[526,527,528,529,536],"tip",{},"For a more advanced badges generator, check out ",[530,531,535],"a",{"href":532,"rel":533},"https://npmx-badge.vercel.app/",[534],"nofollow","this community website",".",[538,539,541],"h3",{"id":540},"label",[294,542,540],{},[90,544,545],{},"Overrides the default label text. You can pass any string to customize the label displayed on the left half of the badge.",[102,547,548,554],{},[105,549,550,553],{},[108,551,552],{},"Default",": Depends on the badge type (e.g., \"version\", \"downloads/mo\").",[105,555,556,559,560],{},[108,557,558],{},"Usage",": ",[294,561,562],{},"?label=YOUR_LABEL",[538,564,566],{"id":565},"value",[294,567,565],{},[90,569,570],{},"Overrides the default value text of the badge. You can pass any string to customize the value displayed on the right half of the badge.",[102,572,573,578],{},[105,574,575,577],{},[108,576,552],{},": Calculated values depending on the badge type (e.g., \"v4.2.0\", \"5.4M\").",[105,579,580,559,582],{},[108,581,558],{},[294,583,562],{},[538,585,587],{"id":586},"labelcolor",[294,588,589],{},"labelColor",[90,591,592,593,596],{},"Overrides the default label color. You can pass a standard hex code (with or without the ",[294,594,595],{},"#"," prefix). The label text color is automatically chosen (black or white) based on WCAG contrast ratio, so the badge remains readable.",[102,598,599,606],{},[105,600,601,559,603],{},[108,602,552],{},[294,604,605],{},"#0a0a0a",[105,607,608,559,610],{},[108,609,558],{},[294,611,612],{},"?labelColor=HEX_CODE",[538,614,616],{"id":615},"color",[294,617,615],{},[90,619,620,621,623],{},"Overrides the default strategy color. You can pass a standard hex code (with or without the ",[294,622,595],{}," prefix). The text color is automatically chosen (black or white) based on WCAG contrast ratio, so the badge remains readable.",[102,625,626,631],{},[105,627,628,630],{},[108,629,552],{},": Depends on the badge type (e.g., version is blue, downloads are orange).",[105,632,633,559,635],{},[108,634,558],{},[294,636,637],{},"?color=HEX_CODE",[639,640,641,655],"table",{},[642,643,644],"thead",{},[645,646,647,652],"tr",{},[648,649,651],"th",{"align":650},"left","Example",[648,653,654],{"align":650},"URL",[656,657,658,671,683],"tbody",{},[645,659,660,666],{},[661,662,663],"td",{"align":650},[108,664,665],{},"Hot Pink",[661,667,668],{"align":650},[294,669,670],{},".../badge/version/nuxt?color=ff69b4",[645,672,673,678],{},[661,674,675],{"align":650},[108,676,677],{},"Pure Black",[661,679,680],{"align":650},[294,681,682],{},".../badge/version/nuxt?color=000000",[645,684,685,690],{},[661,686,687],{"align":650},[108,688,689],{},"Brand Blue",[661,691,692],{"align":650},[294,693,694],{},".../badge/version/nuxt?color=3b82f6",[538,696,697],{"id":277},[294,698,277],{},[90,700,701,702,705],{},"When set to ",[294,703,704],{},"true",", this parameter replaces the static category label (like \"version\" or \"downloads/mo\") with the actual name of the package. This is useful for brand-focused READMEs.",[102,707,708,715],{},[105,709,710,559,712],{},[108,711,552],{},[294,713,714],{},"false",[105,716,717,559,719],{},[108,718,558],{},[294,720,721],{},"?name=true",[639,723,724,740],{},[642,725,726],{},[645,727,728,731,734],{},[648,729,730],{},"Type",[648,732,733],{},"Default Label",[648,735,736,737],{},"With ",[294,738,739],{},"name=true",[656,741,742,759],{},[645,743,744,749,754],{},[661,745,746],{},[108,747,748],{},"Version",[661,750,751],{},[294,752,753],{},"version | 3.12.0",[661,755,756],{},[294,757,758],{},"nuxt | 3.12.0",[645,760,761,766,771],{},[661,762,763],{},[108,764,765],{},"Downloads",[661,767,768],{},[294,769,770],{},"downloads/mo | 2M",[661,772,773],{},[294,774,775],{},"lodash | 2M",[538,777,779],{"id":778},"style",[294,780,778],{},[90,782,783,784,787],{},"Overrides the default badge appearance. Pass ",[294,785,786],{},"shieldsio"," to use the shields.io-compatible style.",[102,789,790,797],{},[105,791,792,559,794],{},[108,793,552],{},[294,795,796],{},"default",[105,798,799,559,801],{},[108,800,558],{},[294,802,803],{},"?style=shieldsio",[778,805,806],{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sDClJ, html code.shiki .sDClJ{--shiki-light:#91B859;--shiki-light-text-decoration:underline;--shiki-default:#C3E88D;--shiki-default-text-decoration:underline;--shiki-dark:#C3E88D;--shiki-dark-text-decoration:underline}html pre.shiki code .sDpXG, html code.shiki .sDpXG{--shiki-light:#E53935;--shiki-light-text-decoration:underline;--shiki-default:#F07178;--shiki-default-text-decoration:underline;--shiki-dark:#F07178;--shiki-dark-text-decoration:underline}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);}",{"title":292,"searchDepth":311,"depth":311,"links":808},[809,810,811],{"id":99,"depth":311,"text":100},{"id":284,"depth":311,"text":285},{"id":514,"depth":311,"text":515,"children":812},[813,814,815,816,817,818],{"id":540,"depth":318,"text":540},{"id":565,"depth":318,"text":565},{"id":586,"depth":318,"text":589},{"id":615,"depth":318,"text":615},{"id":277,"depth":318,"text":277},{"id":778,"depth":318,"text":778},"Generate modern markdown badges with the npmx.dev API",null,{},{"icon":56},{"title":53,"description":819},"yvujuAByjTSIoZPHRMW5agaKyIhrwo4eGhcKXL7c5sU",[826,828],{"title":48,"path":49,"stem":50,"description":827,"icon":51,"children":-1},"Learn how to use semver ranges to filter package versions on npmx.dev",{"title":64,"path":65,"stem":66,"description":829,"icon":67,"children":-1},"Common issues and how to resolve them",1775090645112]