vitepress-plugin-llms weekly downloads statistics
By okineadev · npm · Vite plugins
📜 A VitePress plugin for generating LLM-friendly documentation
vitepress-plugin-llms has 110,689 recorded weekly downloads on npm, an increase of 8.9% over the past 30 days, ranking #628 of 3,247 tracked listings.
About vitepress-plugin-llms
📜 vitepress-plugin-llms
🐛 Report bug • Request feature ✨
</div> <!-- markdownlint-restore --> <!-- prettier-ignore-end -->📦 Installation
npm install vitepress-plugin-llms --save-dev
🛠️ Usage
Add the Vite plugin to your VitePress configuration (.vitepress/config.ts):
import { defineConfig } from 'vitepress'
import llmstxt from 'vitepress-plugin-llms'
export default defineConfig({
vite: {
plugins: [llmstxt()],
},
})
Now, thanks to this plugin, the LLM version of the website documentation is automatically generated
[!NOTE]
For repositories with documentation in other languages: Please do not use this plugin, only English documentation is enough for LLMs.
<!-- markdownlint-capture --> <!-- markdownlint-disable no-inline-html -->
<!-- markdownlint-restore -->[!TIP] You can add <kbd>📋 Copy as Markdown</kbd> and <kbd>📥 Download as Markdown</kbd> buttons for each page so that visitors can copy the page in Markdown format with just one click!
<img src="./assets/copy-as-markdown-buttons-screenshot.png" width="400" alt="Screenshot">
First, register a global component with buttons in docs/.vitepress/theme/index.ts:
import DefaultTheme from 'vitepress/theme'
import type { Theme } from 'vitepress'
import CopyOrDownloadAsMarkdownButtons from 'vitepress-plugin-llms/vitepress-components/CopyOrDownloadAsMarkdownButtons.vue'
export default {
extends: DefaultTheme,
enhanceApp({ app }) {
app.component('CopyOrDownloadAsMarkdownButtons', CopyOrDownloadAsMarkdownButtons)
},
} satisfies Theme
And tell VitePress to use an additional Markdown plugin that will insert them:
import { defineConfig } from 'vitepress'
import { copyOrDownloadAsMarkdownButtons } from 'vitepress-plugin-llms'
export default defineConfig({
// ...
markdown: {
config(md) {
md.use(copyOrDownloadAsMarkdownButtons)
},
},
})
The plugin accepts the following options (or a string as the component name for backward compatibility):
| Option | Type | Default | Description |
|---|---|---|---|
componentName | string | 'CopyOrDownloadAsMarkdownButtons' | The name of the registered Vue component to inject. |
showDownload | boolean | true | Whether to show the <kbd>📥 Download as Markdown</kbd> button. |
For example, to hide the download button:
import { defineConfig } from 'vitepress'
import { copyOrDownloadAsMarkdownButtons } from 'vitepress-plugin-llms'
export default defineConfig({
// ...
markdown: {
config(md) {
md.use(copyOrDownloadAsMarkdownButtons, { showDownload: false })
},
},
})
If you want to build your own UI instead of using the bundled Vue component, you can consume the shared composable directly:
import { useCopyOrDownloadAsMarkdownButtons } from 'vitepress-plugin-llms/vitepress-components'
Localizing the buttons
The bundled CopyOrDownloadAsMarkdownButtons component reads its labels from VitePress's themeConfig.llms. Add this configuration to .vitepress/config.ts after setting up the component above.
All properties are optional strings:…
Description from the npm listing.
- ai
- documentation
- llms
- plugin
- vite-plugin
- vitepress
- vitepress-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm Vite plugins plugins
All 20 vitepress-plugin-llms alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/vitepress-plugin-llms. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.