Skip to content

[ 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).

terminal
pnpm add @vllnt/next-llms
pnpm add @vllnt/next-llms@canary

Use it

Usage, options and examples are in the package README.

Read the 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
WeekDownloads
17 June 2026 to 21 June 2026363
22 June 2026 to 28 June 2026110
29 June 2026 to 5 July 2026355
6 July 2026 to 12 July 2026228
13 July 2026 to 19 July 2026250
20 July 2026 to 26 July 2026171
27 July 2026 to 2 August 202663
3 August 2026 to 9 August 2026329
10 August 2026 to 16 August 2026303
17 August 2026 to 23 August 202672
24 August 2026 to 30 August 2026432
31 August 2026 to 6 September 2026650
7 September 2026 to 13 September 20261,943
14 September 2026 to 20 September 2026962
21 September 2026 to 27 September 2026784
28 September 2026 to 4 October 2026803
5 October 2026 to 11 October 2026234
12 October 2026 to 18 October 2026373
19 October 2026 to 25 October 2026804
26 October 2026 to 1 November 20262,253
2 November 2026 to 8 November 20262,462
9 November 2026 to 15 November 2026930
16 November 2026 to 22 November 20262,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
VersionKindPublished
0.1.1-canary.7877bb2canary23 November 2026
0.1.0stable22 November 2026
0.1.0-canary.8750ffbcanary22 November 2026
0.1.0-canary.06b7b79canary22 November 2026
0.1.0-canary.b0bb621canary31 October 2026
0.1.0-canary.e255926canary31 October 2026
0.1.0-canary.e0fc10fcanary22 October 2026
0.1.0-canary.3cfe2becanary15 September 2026
0.1.0-canary.46c0340canary12 September 2026
0.1.0-canary.bfc9152canary31 August 2026
0.1.0-canary.108f39acanary31 August 2026
0.1.0-canary.78c9be3canary17 June 2026
0.1.0-canary.bca5ab7canary17 June 2026

Changelog

The newest stable releases of @vllnt/next-llms, with the notes from its changelog.

  1. 0.1.0

    First stable release. Earlier 0.1.0-canary.* builds (npm latest pointed 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-compliant llms.txt index: an # title, a > blockquote, optional free prose, ## Section link lists, and a droppable ## Optional section (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 returns text/markdown with a Cache-Control header (overridable), or 404 when the resolver returns null.
    • Zero runtime dependencies and no peer dependencies (the package imports nothing from next or react); typed end to end.
    Security
    • createMarkdownRoute now answers 400 without calling the resolver when the path has malformed percent-encoding (previously an unhandled URIError) 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.
    • createMarkdownRoute answers 404 when the resolver returns a non-string value such as undefined (previously an empty 200), sets X-Content-Type-Options: nosniff, and throws a TypeError at creation for an invalid cacheControl value instead of failing on every request.
    • generateLlmsText collapses line breaks in titles, summaries and notes, escapes [, ] and \ in link titles, percent-encodes whitespace, (, ), <, > and \ in URLs, and throws a TypeError for blank titles, blank URLs, and javascript:, data: or vbscript: 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.txt index.
    • Releases are published only from a vX.Y.Z tag on main through trusted publishing with provenance.
    Removed
    • Relative to the canary builds only: generateLlmsFullText and the LlmsFullConfig, LlmsFullPage, and LlmsFullSection types are not part of the stable API. Use generateLlmsText to link to pages served by createMarkdownRoute instead.
All releases of @vllnt/next-llms
Stable releases
RSSAtomJSON Feed
Canary builds
RSSAtomJSON Feed

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

Theme