{"_id":"@agent-seo/fastify","_rev":"2-f3164ebd566f416db5408f59a0075ecd","name":"@agent-seo/fastify","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@agent-seo/fastify","version":"1.0.0","keywords":["seo","ai","llm","fastify","plugin","llms-txt","agent","bot"],"license":"MIT","_id":"@agent-seo/fastify@1.0.0","maintainers":[{"name":"pontidev","email":"felipontiggia@gmail.com"}],"homepage":"https://github.com/pontiggia/agent-seo#readme","bugs":{"url":"https://github.com/pontiggia/agent-seo/issues"},"dist":{"shasum":"8ef8b32b08faf0b3aac6aa217a52ab817314dac7","tarball":"https://registry.npmjs.org/@agent-seo/fastify/-/fastify-1.0.0.tgz","fileCount":8,"integrity":"sha512-vZ9wW/bOXpFSpbSULU9IW7RA5Y14fnMVZVmEnL2DHsQayZbPjsdkXkBthJuednUCCnhgcVd4+z/VuCm+QkBw1g==","signatures":[{"sig":"MEQCIQChlkcIwRG3cF6wsyL57niQ0GFG5F5UL8T15lOhSDbPmQIfdcCmwWe5lormmGYCQolHacvanuLZK+w7wD4c/QNKmQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19168},"main":"dist/index.cjs","type":"module","_from":"file:agent-seo-fastify-1.0.0.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"pontidev","email":"felipontiggia@gmail.com"},"_resolved":"/private/var/folders/mk/mybmm3tj2c306r_kcz9bjr4h0000gn/T/c002ecb1f402ed1035799e997e1b85c2/agent-seo-fastify-1.0.0.tgz","_integrity":"sha512-vZ9wW/bOXpFSpbSULU9IW7RA5Y14fnMVZVmEnL2DHsQayZbPjsdkXkBthJuednUCCnhgcVd4+z/VuCm+QkBw1g==","repository":{"url":"git+https://github.com/pontiggia/agent-seo.git","type":"git","directory":"packages/fastify"},"_npmVersion":"10.9.4","description":"Fastify plugin for AI-readable websites","directories":{},"_nodeVersion":"22.21.0","dependencies":{"fastify-plugin":"^5.0.0","@agent-seo/core":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"fastify":"^5.0.0"},"peerDependencies":{"fastify":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify_1.0.0_1771297525116_0.9766640726891245","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@agent-seo/fastify","version":"1.0.1","description":"Fastify plugin for AI-readable websites","license":"MIT","repository":{"type":"git","url":"git+https://github.com/pontiggia/agent-seo.git","directory":"packages/fastify"},"homepage":"https://github.com/pontiggia/agent-seo#readme","bugs":{"url":"https://github.com/pontiggia/agent-seo/issues"},"keywords":["seo","ai","llm","fastify","plugin","llms-txt","agent","bot"],"type":"module","engines":{"node":">=20.0.0"},"main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"dependencies":{"fastify-plugin":"^5.0.0","@agent-seo/core":"1.0.1"},"peerDependencies":{"fastify":"^5.0.0"},"devDependencies":{"fastify":"^5.0.0"},"scripts":{"build":"tsup","test":"vitest run","typecheck":"tsc --noEmit"},"_id":"@agent-seo/fastify@1.0.1","_integrity":"sha512-QpeML298BLJkehXkVs731tSBcEsxUHj11NsVKGdBw2/raiSXMUZ1hKv/iMkP/kFpJV+9Zrb+VL84UR+sxhYa3g==","_resolved":"/private/var/folders/mk/mybmm3tj2c306r_kcz9bjr4h0000gn/T/21ae7e8cd52351108e69cfc826a5ff9f/agent-seo-fastify-1.0.1.tgz","_from":"file:agent-seo-fastify-1.0.1.tgz","_nodeVersion":"22.21.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-QpeML298BLJkehXkVs731tSBcEsxUHj11NsVKGdBw2/raiSXMUZ1hKv/iMkP/kFpJV+9Zrb+VL84UR+sxhYa3g==","shasum":"a8d2b704afcb8ee07a578068d4c140aaabce706a","tarball":"https://registry.npmjs.org/@agent-seo/fastify/-/fastify-1.0.1.tgz","fileCount":9,"unpackedSize":20013,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC4wowE5PluSwe7UQ13Ns7UhQutrzJa7GwTW6unNF2QUwIgOZF4tiCnp/VPKsxPzjRHiZaSj26UEt/yAOmLI3v2s+4="}]},"_npmUser":{"name":"pontidev","email":"felipontiggia@gmail.com"},"directories":{},"maintainers":[{"name":"pontidev","email":"felipontiggia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fastify_1.0.1_1771297973968_0.3670851290314785"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-17T03:05:25.008Z","modified":"2026-02-17T03:12:54.239Z","1.0.0":"2026-02-17T03:05:25.268Z","1.0.1":"2026-02-17T03:12:54.115Z"},"bugs":{"url":"https://github.com/pontiggia/agent-seo/issues"},"license":"MIT","homepage":"https://github.com/pontiggia/agent-seo#readme","keywords":["seo","ai","llm","fastify","plugin","llms-txt","agent","bot"],"repository":{"type":"git","url":"git+https://github.com/pontiggia/agent-seo.git","directory":"packages/fastify"},"description":"Fastify plugin for AI-readable websites","maintainers":[{"name":"pontidev","email":"felipontiggia@gmail.com"}],"readme":"# @agent-seo/fastify\n\nFastify plugin for AI-readable websites. Automatically serves Markdown to AI bots, HTML to browsers.\n\n## Install\n\n```bash\nnpm install @agent-seo/fastify\n```\n\n## Usage\n\n```typescript\nimport Fastify from 'fastify';\nimport { agentSeo } from '@agent-seo/fastify';\n\nconst app = Fastify();\n\napp.register(agentSeo, {\n  siteName: 'My App',\n  siteDescription: 'A brief description for AI systems.',\n  baseUrl: 'https://myapp.com',\n});\n```\n\n## How It Works\n\n```\nBrowser → GET /about → HTML (normal)\nGPTBot  → GET /about → Markdown (automatic)\nAnyone  → GET /about.md → Markdown (explicit)\nAnyone  → GET /llms.txt → Site directory for AI agents\n```\n\nThe plugin detects 19 AI bots via User-Agent, transforms HTML responses to clean Markdown with YAML frontmatter, and serves `/llms.txt` automatically.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}