[ LIBRARY · STABLE · MIT ]
@vllnt/next-llms
AI discoverability for Next.js sites — generate llms.txt / llms-full.txt manifests and serve any page as raw markdown
STABLE 0.1.0 · 1 GitHub star
Package details
Install
The untagged install gets the latest stable version (0.1.0). The canary tag tracks main (0.1.1-canary.7877bb2).
pnpm add @vllnt/next-llms
pnpm add @vllnt/next-llms@canaryUse it
Usage, options and examples are in the package README.
Downloads
- Last 7 days
- 2,886
- Since first publish
- 17,760
Downloads per week since 17 June 2026, oldest on the left. Weeks count back from 22 November 2026, so the first one may be shorter than seven days.
2,886 downloads in the last 7 days. 17,760 downloads since 17 June 2026. Source: npm, counted through 22 November 2026.
Show downloads per week as a table
| Week | Downloads |
|---|---|
| 17 June 2026 to 21 June 2026 | 363 |
| 22 June 2026 to 28 June 2026 | 110 |
| 29 June 2026 to 5 July 2026 | 355 |
| 6 July 2026 to 12 July 2026 | 228 |
| 13 July 2026 to 19 July 2026 | 250 |
| 20 July 2026 to 26 July 2026 | 171 |
| 27 July 2026 to 2 August 2026 | 63 |
| 3 August 2026 to 9 August 2026 | 329 |
| 10 August 2026 to 16 August 2026 | 303 |
| 17 August 2026 to 23 August 2026 | 72 |
| 24 August 2026 to 30 August 2026 | 432 |
| 31 August 2026 to 6 September 2026 | 650 |
| 7 September 2026 to 13 September 2026 | 1,943 |
| 14 September 2026 to 20 September 2026 | 962 |
| 21 September 2026 to 27 September 2026 | 784 |
| 28 September 2026 to 4 October 2026 | 803 |
| 5 October 2026 to 11 October 2026 | 234 |
| 12 October 2026 to 18 October 2026 | 373 |
| 19 October 2026 to 25 October 2026 | 804 |
| 26 October 2026 to 1 November 2026 | 2,253 |
| 2 November 2026 to 8 November 2026 | 2,462 |
| 9 November 2026 to 15 November 2026 | 930 |
| 16 November 2026 to 22 November 2026 | 2,886 |
Release history
Every release on a timeline, oldest on the left. A tall mark with its version is a stable release; a short mark is a canary build. The time axis is the one of the downloads chart, so a release stands above the week it shipped in. A release dated outside the axis sits on its nearest edge.
1 stable release and 12 canary builds since 17 June 2026. Latest stable: 0.1.0 on 22 November 2026.
Show every release as a table
| Version | Kind | Published |
|---|---|---|
| 0.1.1-canary.7877bb2 | canary | 23 November 2026 |
| 0.1.0 | stable | 22 November 2026 |
| 0.1.0-canary.8750ffb | canary | 22 November 2026 |
| 0.1.0-canary.06b7b79 | canary | 22 November 2026 |
| 0.1.0-canary.b0bb621 | canary | 31 October 2026 |
| 0.1.0-canary.e255926 | canary | 31 October 2026 |
| 0.1.0-canary.e0fc10f | canary | 22 October 2026 |
| 0.1.0-canary.3cfe2be | canary | 15 September 2026 |
| 0.1.0-canary.46c0340 | canary | 12 September 2026 |
| 0.1.0-canary.bfc9152 | canary | 31 August 2026 |
| 0.1.0-canary.108f39a | canary | 31 August 2026 |
| 0.1.0-canary.78c9be3 | canary | 17 June 2026 |
| 0.1.0-canary.bca5ab7 | canary | 17 June 2026 |
Changelog
The newest stable releases of @vllnt/next-llms, with the notes from its changelog.
0.1.0
First stable release. Earlier
0.1.0-canary.*builds (npmlatestpointed at the oldest one, from 2026-06-17) were prereleases and are superseded by this version.Added
- First stable release of
@vllnt/next-llms. generateLlmsText(config)— generate a spec-compliantllms.txtindex: an#title, a>blockquote, optional free prose,## Sectionlink lists, and a droppable## Optionalsection (per the llmstxt.org specification).createMarkdownRoute(resolver, options?)— a Web-standard(request) => Promise<Response>App Router route handler that strips a trailing.md, resolves the slug, and returnstext/markdownwith aCache-Controlheader (overridable), or404when the resolver returnsnull.- Zero runtime dependencies and no peer dependencies (the package imports
nothing from
nextorreact); typed end to end.
Security
createMarkdownRoutenow answers400without calling the resolver when the path has malformed percent-encoding (previously an unhandledURIError) or a decoded segment that is empty,.,.., or contains/,\or a NUL byte (for example..%2F..%2Fsecret), so resolvers that map slugs to files never receive a traversal sequence.createMarkdownRouteanswers404when the resolver returns a non-string value such asundefined(previously an empty200), setsX-Content-Type-Options: nosniff, and throws aTypeErrorat creation for an invalidcacheControlvalue instead of failing on every request.generateLlmsTextcollapses line breaks in titles, summaries and notes, escapes[,]and\in link titles, percent-encodes whitespace,(,),<,>and\in URLs, and throws aTypeErrorfor blank titles, blank URLs, andjavascript:,data:orvbscript:URLs, so values cannot inject Markdown structure.
Changed
- Clarify installation and release channels, document explicit private caching
for personalized content, and expand the maintained
llms.txtindex. - Releases are published only from a
vX.Y.Ztag onmainthrough trusted publishing with provenance.
Removed
- Relative to the canary builds only:
generateLlmsFullTextand theLlmsFullConfig,LlmsFullPage, andLlmsFullSectiontypes are not part of the stable API. UsegenerateLlmsTextto link to pages served bycreateMarkdownRouteinstead.
- First stable release of
Licence
Released under the MIT licence. The full text is in the source repository.
[ PACKAGE ]
- Stable
- 0.1.0
- Canary
- 0.1.1-canary.7877bb2
- GitHub stars
- 1 GitHub star
- Licence
- MIT
- Issues
- Open an issue