{"_id":"@agent-seo/hono","_rev":"2-0957f981872b39530c36edb4f600fdf2","name":"@agent-seo/hono","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@agent-seo/hono","version":"1.0.0","keywords":["seo","ai","llm","hono","middleware","llms-txt","agent","bot"],"license":"MIT","_id":"@agent-seo/hono@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":"bf1af9cdc5f472e6eead9f8b2680b2465bc1d10a","tarball":"https://registry.npmjs.org/@agent-seo/hono/-/hono-1.0.0.tgz","fileCount":8,"integrity":"sha512-49GnuA17u2fjADZmQ6lzC+Qz3Hz+ObiKjRSwaBi/PRJS4pHdRpXMA55KuglhHMSypvdwt20hKxEHigxcsNxaaA==","signatures":[{"sig":"MEYCIQDj99EWiVN4ep3hJTH7a+2YSvElevs7TJEP5KfXdh+BsgIhANDJ4s+I43Nz55h4VGplMk8gLGYorp/37XVvgw5f87Ef","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20548},"main":"dist/index.cjs","type":"module","_from":"file:agent-seo-hono-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/a15687189cda52526aef5271b04dd5c9/agent-seo-hono-1.0.0.tgz","_integrity":"sha512-49GnuA17u2fjADZmQ6lzC+Qz3Hz+ObiKjRSwaBi/PRJS4pHdRpXMA55KuglhHMSypvdwt20hKxEHigxcsNxaaA==","repository":{"url":"git+https://github.com/pontiggia/agent-seo.git","type":"git","directory":"packages/hono"},"_npmVersion":"10.9.4","description":"Hono middleware for AI-readable websites","directories":{},"_nodeVersion":"22.21.0","dependencies":{"@agent-seo/core":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"hono":"^4.0.0"},"peerDependencies":{"hono":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hono_1.0.0_1771297538090_0.7998623671868499","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@agent-seo/hono","version":"1.0.1","description":"Hono middleware for AI-readable websites","license":"MIT","repository":{"type":"git","url":"git+https://github.com/pontiggia/agent-seo.git","directory":"packages/hono"},"homepage":"https://github.com/pontiggia/agent-seo#readme","bugs":{"url":"https://github.com/pontiggia/agent-seo/issues"},"keywords":["seo","ai","llm","hono","middleware","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":{"@agent-seo/core":"1.0.1"},"peerDependencies":{"hono":"^4.0.0"},"devDependencies":{"hono":"^4.0.0"},"scripts":{"build":"tsup","test":"vitest run","typecheck":"tsc --noEmit"},"_id":"@agent-seo/hono@1.0.1","_integrity":"sha512-VYBWrUCQQtUbJbMr4k9yde6avqDtXCULQMzgW7vTKGK11BuqhkwtjFxCytXSdyg9AqBJb0zfu7kz9flrjupLhw==","_resolved":"/private/var/folders/mk/mybmm3tj2c306r_kcz9bjr4h0000gn/T/52a40d41b03059f7addf283715dfa0bb/agent-seo-hono-1.0.1.tgz","_from":"file:agent-seo-hono-1.0.1.tgz","_nodeVersion":"22.21.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-VYBWrUCQQtUbJbMr4k9yde6avqDtXCULQMzgW7vTKGK11BuqhkwtjFxCytXSdyg9AqBJb0zfu7kz9flrjupLhw==","shasum":"86affdb03d30d0887799fce0cf31dc27c42fc9ea","tarball":"https://registry.npmjs.org/@agent-seo/hono/-/hono-1.0.1.tgz","fileCount":9,"unpackedSize":21403,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDLlO6HWsdfO7KuHzJfpIlqkUW8uTi2aYZEVLp2FExCYQIgfQVkM+3ZPRqKa7g0TZ24jHnm2rgTt2SozfLO99Pfarw="}]},"_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/hono_1.0.1_1771297975631_0.44923492369790297"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-17T03:05:37.985Z","modified":"2026-02-17T03:12:55.897Z","1.0.0":"2026-02-17T03:05:38.243Z","1.0.1":"2026-02-17T03:12:55.777Z"},"bugs":{"url":"https://github.com/pontiggia/agent-seo/issues"},"license":"MIT","homepage":"https://github.com/pontiggia/agent-seo#readme","keywords":["seo","ai","llm","hono","middleware","llms-txt","agent","bot"],"repository":{"type":"git","url":"git+https://github.com/pontiggia/agent-seo.git","directory":"packages/hono"},"description":"Hono middleware for AI-readable websites","maintainers":[{"name":"pontidev","email":"felipontiggia@gmail.com"}],"readme":"# @agent-seo/hono\n\nHono middleware for AI-readable websites. Automatically serves Markdown to AI bots, HTML to browsers.\n\n## Install\n\n```bash\nnpm install @agent-seo/hono\n```\n\n## Usage\n\n```typescript\nimport { Hono } from 'hono';\nimport { agentSeo } from '@agent-seo/hono';\n\nconst app = new Hono();\n\napp.use(\n  '*',\n  agentSeo({\n    siteName: 'My App',\n    siteDescription: 'A brief description for AI systems.',\n    baseUrl: 'https://myapp.com',\n  }),\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 middleware 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"}