{"_id":"@markdown-for-agents/nextjs","_rev":"23-2810b7d2a265763708b65752638bdd32","name":"@markdown-for-agents/nextjs","dist-tags":{"latest":"1.3.5"},"versions":{"0.1.1":{"name":"@markdown-for-agents/nextjs","version":"0.1.1","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@0.1.1","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"7660c51b648fd660a9feee4aa229745de3cca5ea","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-0.1.1.tgz","fileCount":6,"integrity":"sha512-NvI5/POpY9aOfbarQlVj79+8PQtAwt2XNRIJRq6cn7nIcURls15sCd6PvMpigil+t53TrnYxI8sPaPzAdEqtHg==","signatures":[{"sig":"MEUCIERW4PLZgVmYV9gF5yHt5aNoihQYdMK2xx44Rh3kdIRaAiEApg3dAXjXP7FpXgyd3kjIqWjhvHkB6evRwUvprWw1b88=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12404},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-0.1.1.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"},"_resolved":"/private/var/folders/hj/mbgrrx755_g0ffwlh887r7h80000gn/T/f6cb259d1089d0ca6e8329547409fe19/markdown-for-agents-nextjs-0.1.1.tgz","_integrity":"sha512-NvI5/POpY9aOfbarQlVj79+8PQtAwt2XNRIJRq6cn7nIcURls15sCd6PvMpigil+t53TrnYxI8sPaPzAdEqtHg==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.6.2","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"markdown-for-agents":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_0.1.1_1772075378958_0.9074895030593","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@markdown-for-agents/nextjs","version":"0.1.2","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@0.1.2","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"d01e048ad3f07378f8d0124e4bff79cd8546b651","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-0.1.2.tgz","fileCount":7,"integrity":"sha512-X6V0ox0+bItx07I0Qn2+SHyf74QBcYLPajCEUzu6stEq+8IlWMo3L3GnvOSHrZBmIyRN3BQZw2cLNoBp7aYB/A==","signatures":[{"sig":"MEQCIEHWXDNbqVVY8VgbQnvHbehl3nWjO7Dr9sY8bPMSmZTVAiBHn3CuEx25NTgaw0yvqrJ877cD2XUI+RpOUNbVnSlW2w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15635},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-0.1.2.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"},"_resolved":"/private/var/folders/hj/mbgrrx755_g0ffwlh887r7h80000gn/T/55832478fff27cf61e2d2b27bacdc7b3/markdown-for-agents-nextjs-0.1.2.tgz","_integrity":"sha512-X6V0ox0+bItx07I0Qn2+SHyf74QBcYLPajCEUzu6stEq+8IlWMo3L3GnvOSHrZBmIyRN3BQZw2cLNoBp7aYB/A==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.6.2","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"markdown-for-agents":"0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_0.1.2_1772081105549_0.8469961584233161","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@markdown-for-agents/nextjs","version":"0.1.3","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@0.1.3","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"46319acf0be3b91abdba379ebe06c409e30a2761","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-0.1.3.tgz","fileCount":7,"integrity":"sha512-yj3jXYiZKBnaGVTQ/pQMLZ6/8FpsO19q7hGzneF8jo0oqQiYwrLadglIzGr71+DzzXVvVqJh68gJotCeYaF5jQ==","signatures":[{"sig":"MEUCICvgsok/4B+ZSMZ3xLPdt8x0CHC0kw8CgFalLzWXEAAOAiEAsss11vOCY0UsojjL9Wj8Be5rdXm2KYcTnvERa45nhno=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16654},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-0.1.3.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"},"_resolved":"/private/var/folders/hj/mbgrrx755_g0ffwlh887r7h80000gn/T/c26b9f13a051a4d2160f6387eda247a7/markdown-for-agents-nextjs-0.1.3.tgz","_integrity":"sha512-yj3jXYiZKBnaGVTQ/pQMLZ6/8FpsO19q7hGzneF8jo0oqQiYwrLadglIzGr71+DzzXVvVqJh68gJotCeYaF5jQ==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.6.2","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"markdown-for-agents":"0.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_0.1.3_1772102697073_0.6855277109140712","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@markdown-for-agents/nextjs","version":"0.2.0","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@0.2.0","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"2d6e3f0d4401ef7e89fde918c82ae8e265fe7c9f","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-0.2.0.tgz","fileCount":7,"integrity":"sha512-vw/xpfAB4o1uesO584d3E79HZG33szVFQambZ0mYUBQ6IO9BkL3fVBtwi7W8K2U9qifxESqaRW0nnD5DQnHYLQ==","signatures":[{"sig":"MEQCIHz6v9+jiV+D4ET6LXErWLLG0ZYShG/BnYGiuXEHXgROAiAzwBoSIzTY7dIfJ3T20JJ/7MzhETtBsvIHKdKpaQ5lpA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17359},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-0.2.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"},"_resolved":"/private/var/folders/hj/mbgrrx755_g0ffwlh887r7h80000gn/T/738537f61ca62f05e6f95495ec64eaaa/markdown-for-agents-nextjs-0.2.0.tgz","_integrity":"sha512-vw/xpfAB4o1uesO584d3E79HZG33szVFQambZ0mYUBQ6IO9BkL3fVBtwi7W8K2U9qifxESqaRW0nnD5DQnHYLQ==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.6.2","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"markdown-for-agents":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_0.2.0_1772227873268_0.6217737215066907","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@markdown-for-agents/nextjs","version":"0.2.1","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@0.2.1","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"4ecefe441f7bd852a9edaa95504f8f3c5d087c91","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-0.2.1.tgz","fileCount":7,"integrity":"sha512-+x66nTebGeR99KtzY4BwFUsoJLjJRBH5o5RFt/axktQ/E1mlZYGN7QurS7WSIlmrpDiepL8kIHSbXZtJFGTbFg==","signatures":[{"sig":"MEYCIQCBsM6zHqONw8rxiSu0VTOGD/XUXezw+FXO/P63F3BgNgIhAI1ZQmnJeKiv0pNlwMvrsJrcBJgYAY0v+JnlgK8RANej","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21739},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-0.2.1.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"},"_resolved":"/private/var/folders/hj/mbgrrx755_g0ffwlh887r7h80000gn/T/859fc9278c59a003eed902fb55bc7ab1/markdown-for-agents-nextjs-0.2.1.tgz","_integrity":"sha512-+x66nTebGeR99KtzY4BwFUsoJLjJRBH5o5RFt/axktQ/E1mlZYGN7QurS7WSIlmrpDiepL8kIHSbXZtJFGTbFg==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.6.2","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"markdown-for-agents":"0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_0.2.1_1772230521847_0.46154609450369133","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@markdown-for-agents/nextjs","version":"0.3.0","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@0.3.0","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"6de79a616841d1bd250b4748119ca5db28d8245d","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-0.3.0.tgz","fileCount":7,"integrity":"sha512-kh9uHUDPV4E4AoxiJ3McWRfTNmwa2CFPuWbFB69bufciaUHcHrJwgJ1SLkrCSOi1QqPI+/cxzZa6yHzr05w+nQ==","signatures":[{"sig":"MEUCIHXIRU+qIvFwlVQCUSZGt3zUxA1AVMxAVDcl8jCUGvnpAiEA5kfIhiUx8GTKWp806oGSQ2s1DEYuMz4nQ9BgFMc0XOY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21707},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-0.3.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"},"_resolved":"/private/var/folders/hj/mbgrrx755_g0ffwlh887r7h80000gn/T/90bc190657d51ca5b167b3731c027330/markdown-for-agents-nextjs-0.3.0.tgz","_integrity":"sha512-kh9uHUDPV4E4AoxiJ3McWRfTNmwa2CFPuWbFB69bufciaUHcHrJwgJ1SLkrCSOi1QqPI+/cxzZa6yHzr05w+nQ==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.6.2","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"markdown-for-agents":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_0.3.0_1772312336760_0.2986325604179556","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@markdown-for-agents/nextjs","version":"0.3.1","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@0.3.1","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"726e26447ecac2b045da5e28bf55fad583bca504","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-0.3.1.tgz","fileCount":7,"integrity":"sha512-wvJGcUDmhpRLMa99JHrg/PJf+J9BpYQoZq0kchQNhYdb8oKqMonsjKkawMdch3Nb/PyalG7Cavjmh6yFNr0MhA==","signatures":[{"sig":"MEYCIQDrBnJfgl9PiWKQvSOzNROrctVPxB/PdpGx0aaTF/kL6QIhAML0SpHa22WNHqgefGOKTpoCns1d8+vdXfDqU+OrMucY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21707},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-0.3.1.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"},"_resolved":"/private/var/folders/hj/mbgrrx755_g0ffwlh887r7h80000gn/T/790df7bb6090caa1421a6b01b247dcbf/markdown-for-agents-nextjs-0.3.1.tgz","_integrity":"sha512-wvJGcUDmhpRLMa99JHrg/PJf+J9BpYQoZq0kchQNhYdb8oKqMonsjKkawMdch3Nb/PyalG7Cavjmh6yFNr0MhA==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.6.2","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"markdown-for-agents":"0.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_0.3.1_1772312857233_0.7177951027956244","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@markdown-for-agents/nextjs","version":"0.3.2","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@0.3.2","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"3940891ca318d3eea89307f72c9285e4bfb7c5ec","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-0.3.2.tgz","fileCount":7,"integrity":"sha512-BVGBYLf4k/rDQe7T7kfQEkXPnsgsWqjOsIgPWabHQg/m/wOB+Z21Tm7D7PMU6MlqrW+4EBHknaAiekKDMKFfQw==","signatures":[{"sig":"MEUCID+Wm3y8Yi6Ompjq6Fdk+xriZeyMf5Nd6/IjAKPLdQ/FAiEAkP5U9XOeoNeZ4yIb3E1+1eOj0M+sDnVqBNIszUpsoF4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21158},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-0.3.2.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"},"_resolved":"/private/var/folders/hj/mbgrrx755_g0ffwlh887r7h80000gn/T/6622e1ddaf9277506a052439eb54a6e4/markdown-for-agents-nextjs-0.3.2.tgz","_integrity":"sha512-BVGBYLf4k/rDQe7T7kfQEkXPnsgsWqjOsIgPWabHQg/m/wOB+Z21Tm7D7PMU6MlqrW+4EBHknaAiekKDMKFfQw==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.6.2","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"markdown-for-agents":"0.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_0.3.2_1772391525493_0.4552414623224976","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@markdown-for-agents/nextjs","version":"0.3.3","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@0.3.3","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"babe175f8ab4a94a2fd7f6f0b3f31b32a597f34c","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-0.3.3.tgz","fileCount":7,"integrity":"sha512-sBDrf+Jwi8J/TICBz85en8tA4Q9cdsGnBWrE/ACRLusIQ+WDF8jEQOMBINYzdMTtvoPVHIrsj/fsABF+g+M3wA==","signatures":[{"sig":"MEUCIQCGUAzSOs7c1CsV5mHCbqsKmr0G0gasT7RihQIQf+kL3QIgWZkTx8h5IgErqRQmH48KMVBi0feGbwL1sYiO3PQRY1w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21158},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-0.3.3.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"},"_resolved":"/private/var/folders/hj/mbgrrx755_g0ffwlh887r7h80000gn/T/5d68ac22c8febee104507813b59b4236/markdown-for-agents-nextjs-0.3.3.tgz","_integrity":"sha512-sBDrf+Jwi8J/TICBz85en8tA4Q9cdsGnBWrE/ACRLusIQ+WDF8jEQOMBINYzdMTtvoPVHIrsj/fsABF+g+M3wA==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.6.2","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"markdown-for-agents":"0.3.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_0.3.3_1772473345738_0.02068964122117567","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@markdown-for-agents/nextjs","version":"1.0.0","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.0.0","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"17a8074461b681cbe04b7796528480659bd622a8","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.0.0.tgz","fileCount":7,"integrity":"sha512-eKM4jzXfhQ/ZDwqISmSK3vRaUTBCreM9EkzxI2rbz6amzoUZfV76qz6kExsslBQAzj1/JLSnfyDTy92J25H1jQ==","signatures":[{"sig":"MEYCIQCstZnHJPzoajUg1YzVbIa+qR8fEgSfGbTj2ta0iaUOnAIhAKUtOKmYMus3ClND0pJrW6Ew3CN1+VuZ4c4YGZ0YHzBw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21158},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.0.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"},"_resolved":"/private/var/folders/hj/mbgrrx755_g0ffwlh887r7h80000gn/T/1420e5c927ea2a5badeb0bceb883b9b3/markdown-for-agents-nextjs-1.0.0.tgz","_integrity":"sha512-eKM4jzXfhQ/ZDwqISmSK3vRaUTBCreM9EkzxI2rbz6amzoUZfV76qz6kExsslBQAzj1/JLSnfyDTy92J25H1jQ==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.6.2","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"markdown-for-agents":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.0.0_1772521809927_0.9624819557956006","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@markdown-for-agents/nextjs","version":"1.0.1","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.0.1","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"21f92a9f17db455b3e2a3af6456bb2fe3425bad1","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.0.1.tgz","fileCount":7,"integrity":"sha512-O2fIrYv6dVqnNfsPHLVLaEjdhiWPUf3MI8OHWoEWtbINBG6p/cC/uHsaUjyhmRqc4nbTiwtbmdZz8U0ve+OQ7Q==","signatures":[{"sig":"MEUCIHhUGpBR+STobVm36IuxTwcWR6788uYF9pYb//B5pUPvAiEA5/I8fn+4MKCGxmC++fj3hwpBcxy+EtyLLy7fS1gsBmg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21708},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.0.1.tgz","types":"./dist/index.d.mts","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"},"_resolved":"/private/var/folders/hj/mbgrrx755_g0ffwlh887r7h80000gn/T/1642bd211312097f79e2f2bc8ec8c784/markdown-for-agents-nextjs-1.0.1.tgz","_integrity":"sha512-O2fIrYv6dVqnNfsPHLVLaEjdhiWPUf3MI8OHWoEWtbINBG6p/cC/uHsaUjyhmRqc4nbTiwtbmdZz8U0ve+OQ7Q==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.6.2","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"markdown-for-agents":"1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.0.1_1772822219386_0.585599539876849","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@markdown-for-agents/nextjs","version":"1.1.0","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.1.0","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"551f5219bb6eb6d372c6bbd63a10f6b9f1630940","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.1.0.tgz","fileCount":7,"integrity":"sha512-1PKY+CFJvv+tZMMgGoSIwN10h2baoh98fb5jH01uKVwsb4681ElzArkRj7umfLcDur8Pmq3Nu8GrCkOk5gSf5A==","signatures":[{"sig":"MEUCIQD86s2XOpW9q/7TbDx3eXPpKEb7FCMBL7Wh9Jj9uuYZ6wIgVvLkhAIx/sEvA6oQhoYAH+XDW9RQs2dbyzboPkZ8niI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21732},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.1.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"_resolved":"/tmp/ed273f12e19b793a7f1e9274a7599138/markdown-for-agents-nextjs-1.1.0.tgz","_integrity":"sha512-1PKY+CFJvv+tZMMgGoSIwN10h2baoh98fb5jH01uKVwsb4681ElzArkRj7umfLcDur8Pmq3Nu8GrCkOk5gSf5A==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.11.0","description":"Next.js middleware for markdown-for-agents","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"markdown-for-agents":"1.1.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.1.0_1773125242107_0.19657490296096447","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@markdown-for-agents/nextjs","version":"1.1.1","keywords":["html","markdown","middleware","nextjs","next"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.1.1","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"1c2bc224879ff2b0bd9ab8c4cfa77f468d8fbc66","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.1.1.tgz","fileCount":7,"integrity":"sha512-bejI4Cp1l9pZGG5KNC675/1OfcquLTQcvSDyzLKtTb/ShLFPY4b8buqfTrRuPq8MNOD//Ahie28vYUdQgwQN6Q==","signatures":[{"sig":"MEUCIH/YXbalLAUdJCsNLdS6bacR1eG3YmkAWizEnauHTR69AiEAiqZq0JsnBFWwsqQcLo/FFzr+HhJdrWp1nlPYoOeYFm4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22442},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.1.1.tgz","types":"./dist/index.d.mts","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"_resolved":"/tmp/27f09e9e80589ad6ca3e604156f4bcdc/markdown-for-agents-nextjs-1.1.1.tgz","_integrity":"sha512-bejI4Cp1l9pZGG5KNC675/1OfcquLTQcvSDyzLKtTb/ShLFPY4b8buqfTrRuPq8MNOD//Ahie28vYUdQgwQN6Q==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.9.0","description":"Next.js middleware — serve Markdown to AI agents via content negotiation","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"markdown-for-agents":"1.1.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.1.1_1773612991226_0.22945370454452618","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@markdown-for-agents/nextjs","version":"1.1.2","keywords":["html","markdown","converter","ai","agents","llm","tokens","nextjs","next","middleware","content-negotiation"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.1.2","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"146247d50a77c2e81a660a3d2ce63497140d1b64","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.1.2.tgz","fileCount":7,"integrity":"sha512-sMSRjz6tZLLq3AVPALKnhFDKBzZy07jecLDZT0q3QumaOzXnknXK2m0H1HAeR0lgcfNjhlVLqz+0aJrgSatGDQ==","signatures":[{"sig":"MEYCIQDqf7D1JHgGuEmnHOBQUbvp4QiMAvGlR+KhuDBrDrT1bwIhAI/KUv/CB0yJGP5YLhTG0KBX1Q1fiPEHa0o/RLcWxsM7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22376},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.1.2.tgz","types":"./dist/index.d.mts","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"_resolved":"/tmp/87ffa422b9b65f8ee959db37caadf946/markdown-for-agents-nextjs-1.1.2.tgz","_integrity":"sha512-sMSRjz6tZLLq3AVPALKnhFDKBzZy07jecLDZT0q3QumaOzXnknXK2m0H1HAeR0lgcfNjhlVLqz+0aJrgSatGDQ==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.9.0","description":"Next.js middleware — serve Markdown to AI agents via content negotiation","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"markdown-for-agents":"1.1.2"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.1.2_1773615948574_0.7493184873174727","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@markdown-for-agents/nextjs","version":"1.1.3","keywords":["html","markdown","converter","ai","agents","llm","tokens","nextjs","next","middleware","content-negotiation"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.1.3","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"869e21473a63528d26d56126312da8bc4f29ab7c","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.1.3.tgz","fileCount":7,"integrity":"sha512-jHshXLn2R60P0nTu/UQ8wCd1gb+ZHnOVNmEJTdl9tU40vcbCpUli1swTE9/tlSFIA8nfhH/xseH2Nrgxdrn9PA==","signatures":[{"sig":"MEQCIGXFofjtY/PutAJtJOkpSAMhAgOykDVcEZUR8xUsqw0LAiBGAoqEjIbUjcZa3ihxrI9l6I/YCe9BJjunUv0ot8Cmog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24344},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.1.3.tgz","types":"./dist/index.d.mts","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"_resolved":"/tmp/89c0316044e564610d368adf8985b7a9/markdown-for-agents-nextjs-1.1.3.tgz","_integrity":"sha512-jHshXLn2R60P0nTu/UQ8wCd1gb+ZHnOVNmEJTdl9tU40vcbCpUli1swTE9/tlSFIA8nfhH/xseH2Nrgxdrn9PA==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.9.0","description":"Next.js middleware — serve Markdown to AI agents via content negotiation","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"markdown-for-agents":"1.1.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.1.3_1773692157404_0.8613770878672367","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@markdown-for-agents/nextjs","version":"1.1.4","keywords":["html","markdown","converter","ai","agents","llm","tokens","nextjs","next","middleware","content-negotiation"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.1.4","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"8300e2fac6045236cecff279f4ec73c59e936d3e","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.1.4.tgz","fileCount":7,"integrity":"sha512-Sulm5CdTBKGPNzMzoQsigjEZwAC6197nrTOkCUA+2ogCw7LlRuhLuXf0M08CYUEa4RjmhyyX92DVElMiqZsZrw==","signatures":[{"sig":"MEQCIB2hQo42dOVTP0dKBpdSG/PHB1X+AXCr4rhlTQhcEQSfAiB0EBtXKK3hsFtRIci7vwV7ywUdesAGVMOgqe7dUxweeA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24223},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.1.4.tgz","types":"./dist/index.d.mts","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"_resolved":"/tmp/e41a788e8eba75b4d4cb19561ac28034/markdown-for-agents-nextjs-1.1.4.tgz","_integrity":"sha512-Sulm5CdTBKGPNzMzoQsigjEZwAC6197nrTOkCUA+2ogCw7LlRuhLuXf0M08CYUEa4RjmhyyX92DVElMiqZsZrw==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.9.0","description":"Next.js middleware — serve Markdown to AI agents via content negotiation","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"markdown-for-agents":"1.1.4"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.1.4_1773696189992_0.634303364411168","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@markdown-for-agents/nextjs","version":"1.2.0","keywords":["html","markdown","converter","ai","agents","llm","tokens","nextjs","next","middleware","content-negotiation"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.2.0","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"aada538c4ed31174c1a6d8bf867e69bec38d1d73","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.2.0.tgz","fileCount":7,"integrity":"sha512-/fXuDInbu5G6v9hKe2ouUhVpIij7l7+qzNDCsU9aeoL3GB9Ypx9VETzvxMP63hv3CY6UONwnLzhxn7lp5p/ZHw==","signatures":[{"sig":"MEUCIHYQmx5ionuhmwXwLF5nb64sSEGvqQto9qj3OHh3IN/gAiEA9H7C4+vaTp73FDmaUxzXuFzSql026oJsGFmKEcwnSLQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24223},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.2.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"_resolved":"/tmp/91d58d442450a2cbef2b2ddc3cc993e6/markdown-for-agents-nextjs-1.2.0.tgz","_integrity":"sha512-/fXuDInbu5G6v9hKe2ouUhVpIij7l7+qzNDCsU9aeoL3GB9Ypx9VETzvxMP63hv3CY6UONwnLzhxn7lp5p/ZHw==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.9.0","description":"Next.js middleware — serve Markdown to AI agents via content negotiation","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"markdown-for-agents":"1.2.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.2.0_1773698861447_0.6021935576704227","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@markdown-for-agents/nextjs","version":"1.3.0","keywords":["html","markdown","converter","ai","agents","llm","tokens","nextjs","next","middleware","content-negotiation"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.3.0","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"d2736164cf1188475169c575ad103c40f3f88757","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.3.0.tgz","fileCount":7,"integrity":"sha512-YU0Ku4v2Cr2bfouMBBF42HZ6lZsUfCwZEoqNjBor04OVOyktQqWfZ93jiiaLYs6hbsq4iMAwWg0ds+Z5FwYuAA==","signatures":[{"sig":"MEQCIFVUZaNQxdqdoerWi5GpearEhCHnLHzLvFe+i2+fEJkOAiA0zu8b6Ar0lkDGuMNAv53Gmhaaao/TtshLdoOsLrAKpw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25281},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.3.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"_resolved":"/tmp/d403e16d09795d6291a60d8a54d47717/markdown-for-agents-nextjs-1.3.0.tgz","_integrity":"sha512-YU0Ku4v2Cr2bfouMBBF42HZ6lZsUfCwZEoqNjBor04OVOyktQqWfZ93jiiaLYs6hbsq4iMAwWg0ds+Z5FwYuAA==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.9.0","description":"Next.js middleware — serve Markdown to AI agents via content negotiation","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"markdown-for-agents":"1.3.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.3.0_1773733930602_0.9651446892342328","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@markdown-for-agents/nextjs","version":"1.3.1","keywords":["html","markdown","converter","ai","agents","llm","tokens","nextjs","next","middleware","content-negotiation"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.3.1","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"a5fe63c5c4612d897d504e6068f56e59e368a196","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.3.1.tgz","fileCount":7,"integrity":"sha512-k7kieOUFvLRXTsADhIG0QsV0A6PQ6NNBWUQCrVe472HFMlovO2xEpw+ZwwVhmE1R3pr1frwrvpVPHTV50nBGCA==","signatures":[{"sig":"MEQCIDJQi9TyPvci1cPlIA4gTB374utwoQRoO/8ukOHnDWHTAiAiM+2vnLrI/0cZctUDo/y/7iVUN0jbPuFv+qmd3wSk5w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25736},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.3.1.tgz","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"_resolved":"/tmp/3374d3f3dfde0d2ee46daf3973e9f173/markdown-for-agents-nextjs-1.3.1.tgz","_integrity":"sha512-k7kieOUFvLRXTsADhIG0QsV0A6PQ6NNBWUQCrVe472HFMlovO2xEpw+ZwwVhmE1R3pr1frwrvpVPHTV50nBGCA==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.9.0","description":"Next.js middleware — serve Markdown to AI agents via content negotiation","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"markdown-for-agents":"1.3.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.3.1_1773739306177_0.65695912453104","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@markdown-for-agents/nextjs","version":"1.3.2","keywords":["html","markdown","converter","ai","agents","llm","tokens","nextjs","next","middleware","content-negotiation"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.3.2","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"379abc9bd88728a14771ac3f2ee5f663bfe8afc9","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.3.2.tgz","fileCount":7,"integrity":"sha512-ON3yrsC6Pkr2PBcIF+dXNhcWnTYd7qoHXTTrL2PWGPS5A+1aBlwpSgna2ZP4l8crVpUCaArZzUvp0SVkBmkNew==","signatures":[{"sig":"MEUCIErJOFll3gTw8Bz47yeR1qMBmPS4TrwkzIGJ/Jgztu/JAiEAi+mTBDJLkFNVDZ6t0cf5xT3pC4h1XeKz0oHOJ6qQI5I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27564},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.3.2.tgz","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"_resolved":"/tmp/bc9e6b3b3f5f21222501504e8cb2cbfc/markdown-for-agents-nextjs-1.3.2.tgz","_integrity":"sha512-ON3yrsC6Pkr2PBcIF+dXNhcWnTYd7qoHXTTrL2PWGPS5A+1aBlwpSgna2ZP4l8crVpUCaArZzUvp0SVkBmkNew==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.9.0","description":"Next.js middleware — serve Markdown to AI agents via content negotiation","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"markdown-for-agents":"1.3.2"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.3.2_1773828728156_0.8141554359297623","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@markdown-for-agents/nextjs","version":"1.3.3","keywords":["html","markdown","converter","ai","agents","llm","tokens","nextjs","next","middleware","content-negotiation"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.3.3","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"1b96f227b19dab91aceb5f9445028fcdc641e57a","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.3.3.tgz","fileCount":7,"integrity":"sha512-fbqCOWWmUNDitSBihs8Q2SRwcEnNurfSNZAlJ/A5m6yCVdGY8ic1jJ4y8GFPMJcjj5z7Xzu7kwSS4DoPnO7NQA==","signatures":[{"sig":"MEYCIQDKeYcRKnmGp6Ol86dYMafF/xNxV8MEVoR1jeUVNeeOOgIhAIZP4qet5bNZO72cgLnnw3k+oZstf8+SB3w0rysRDGU7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27564},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.3.3.tgz","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"_resolved":"/tmp/587ea19e6764ca43bd0d4fc25e4a74d3/markdown-for-agents-nextjs-1.3.3.tgz","_integrity":"sha512-fbqCOWWmUNDitSBihs8Q2SRwcEnNurfSNZAlJ/A5m6yCVdGY8ic1jJ4y8GFPMJcjj5z7Xzu7kwSS4DoPnO7NQA==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.9.0","description":"Next.js middleware — serve Markdown to AI agents via content negotiation","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"markdown-for-agents":"1.3.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.3.3_1773835925423_0.7298038519757992","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@markdown-for-agents/nextjs","version":"1.3.4","keywords":["html","markdown","converter","ai","agents","llm","tokens","nextjs","next","middleware","content-negotiation"],"license":"MIT","_id":"@markdown-for-agents/nextjs@1.3.4","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"6cc6484ec488b967eac4aa2ec2c1e4668ad3f2b8","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.3.4.tgz","fileCount":7,"integrity":"sha512-ZEyDb0zehHqW0nyWZY6WYqbP4rTp+IHTLIRXStKJ6UTLT8hVB0d/Zp19mSHcXTctmxFdQA8Q1b6dIbf4dFgtSQ==","signatures":[{"sig":"MEQCIFX3+97n/P8AsWhLbXIal8ZFH78NqM5WpcamwupkZrW2AiA9EPsbsyROXept3PTxHIqJFrULam32dohPW8ENyCdJzQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27564},"main":"./dist/index.mjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.3.4.tgz","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"_resolved":"/tmp/a367f0182769243b20ddfec74aaa5e46/markdown-for-agents-nextjs-1.3.4.tgz","_integrity":"sha512-ZEyDb0zehHqW0nyWZY6WYqbP4rTp+IHTLIRXStKJ6UTLT8hVB0d/Zp19mSHcXTctmxFdQA8Q1b6dIbf4dFgtSQ==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.9.0","description":"Next.js middleware — serve Markdown to AI agents via content negotiation","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"markdown-for-agents":"1.3.4"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs_1.3.4_1774878149367_0.5189360098677","host":"s3://npm-registry-packages-npm-production"}},"1.3.5":{"_id":"@markdown-for-agents/nextjs@1.3.5","bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"dist":{"shasum":"584c3888448856f45f10c775b752bc0f39c0e98f","tarball":"https://registry.npmjs.org/@markdown-for-agents/nextjs/-/nextjs-1.3.5.tgz","fileCount":7,"integrity":"sha512-R18HZbMaowGKPLCR8kykjBB+y1Ht7ni0cOid97DDvzSLt4gUQniisrqhd9V8R9PyObCS7woBZhTjhVktag7Shg==","signatures":[{"sig":"MEUCIQDy4m6ev1yUANe5IeoGFvLjl0QJgXvAxue6YRlH+tLYlwIgD4tB0WU92EnHcJXxELiPVlsChfE0hL+cTT/wkjLComQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC9LtkROyODrtmp2J2sPC2OsDgNGwGc6TkbNcuNNj3dyQIhANQ4z9nBquRCwQGI4VAxw6WgdGp2Q+ABDPvIHzOx01h/"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@markdown-for-agents%2fnextjs@1.3.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27564},"main":"./dist/index.mjs","name":"@markdown-for-agents/nextjs","type":"module","_from":"file:markdown-for-agents-nextjs-1.3.5.tgz","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"license":"MIT","scripts":{"dev":"tsdown --watch","test":"vitest run","build":"tsdown","typecheck":"tsgo --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration"},"version":"1.3.5","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49f3ba3d-d65d-4a4e-9b7b-86ec9b6ff2d9"}},"homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","keywords":["html","markdown","converter","ai","agents","llm","tokens","nextjs","next","middleware","content-negotiation"],"_resolved":"/tmp/f6f113eeecdb10403dce7bf97a0d6b9f/markdown-for-agents-nextjs-1.3.5.tgz","_integrity":"sha512-R18HZbMaowGKPLCR8kykjBB+y1Ht7ni0cOid97DDvzSLt4gUQniisrqhd9V8R9PyObCS7woBZhTjhVktag7Shg==","repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"_npmVersion":"11.19.0","description":"Next.js middleware — serve Markdown to AI agents via content negotiation","directories":{},"maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"markdown-for-agents":"1.4.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nextjs_1.3.5_1789689405578_0.88762704715868"}}},"time":{"created":"2026-02-26T03:09:38.864Z","modified":"2026-09-17T23:56:46.061Z","0.1.1":"2026-02-26T03:09:39.110Z","0.1.2":"2026-02-26T04:45:05.737Z","0.1.3":"2026-02-26T10:44:57.230Z","0.2.0":"2026-02-27T21:31:13.422Z","0.2.1":"2026-02-27T22:15:21.999Z","0.3.0":"2026-02-28T20:58:56.898Z","0.3.1":"2026-02-28T21:07:37.395Z","0.3.2":"2026-03-01T18:58:45.629Z","0.3.3":"2026-03-02T17:42:25.876Z","1.0.0":"2026-03-03T07:10:10.061Z","1.0.1":"2026-03-06T18:36:59.528Z","1.1.0":"2026-03-10T06:47:22.318Z","1.1.1":"2026-03-15T22:16:31.369Z","1.1.2":"2026-03-15T23:05:48.719Z","1.1.3":"2026-03-16T20:15:57.546Z","1.1.4":"2026-03-16T21:23:10.140Z","1.2.0":"2026-03-16T22:07:41.574Z","1.3.0":"2026-03-17T07:52:10.741Z","1.3.1":"2026-03-17T09:21:46.352Z","1.3.2":"2026-03-18T10:12:08.356Z","1.3.3":"2026-03-18T12:12:05.575Z","1.3.4":"2026-03-30T13:42:29.504Z","1.3.5":"2026-09-17T23:56:45.665Z"},"bugs":{"url":"https://github.com/KKonstantinov/markdown-for-agents/issues"},"license":"MIT","homepage":"https://github.com/KKonstantinov/markdown-for-agents/tree/main/packages/middleware/nextjs#readme","keywords":["html","markdown","converter","ai","agents","llm","tokens","nextjs","next","middleware","content-negotiation"],"repository":{"url":"git+https://github.com/KKonstantinov/markdown-for-agents.git","type":"git","directory":"packages/middleware/nextjs"},"description":"Next.js middleware — serve Markdown to AI agents via content negotiation","maintainers":[{"name":"kkonstantinov","email":"konstantin.m.konstantinov@gmail.com"}],"readme":"# @markdown-for-agents/nextjs\n\n[![npm version](https://img.shields.io/npm/v/@markdown-for-agents/nextjs)](https://www.npmjs.com/package/@markdown-for-agents/nextjs) [![npm downloads](https://img.shields.io/npm/dm/@markdown-for-agents/nextjs)](https://www.npmjs.com/package/@markdown-for-agents/nextjs)\n[![types](https://img.shields.io/npm/types/@markdown-for-agents/nextjs)](https://www.npmjs.com/package/@markdown-for-agents/nextjs) [![license](https://img.shields.io/npm/l/@markdown-for-agents/nextjs)](https://github.com/KKonstantinov/markdown-for-agents/blob/main/LICENSE)\n\nNext.js middleware for [markdown-for-agents](https://www.npmjs.com/package/markdown-for-agents) — a runtime-agnostic HTML to Markdown converter built for AI agents.\n\n![markdown-for-agents + Next.js](https://raw.githubusercontent.com/KKonstantinov/markdown-for-agents/main/packages/middleware/nextjs/mda_nextjs_header.png)\n\n> [markdown-for-agents](https://www.npmjs.com/package/markdown-for-agents) converts HTML to clean, token-efficient Markdown for AI agents — typically saving 80–90% of tokens. This package adds automatic content negotiation to your Next.js app via `Accept: text/markdown`.\n> **[Try the playground](https://markdown-for-agents.vercel.app/playground)** to see the core conversion in action.\n\nAdd a proxy and AI agents get clean, token-efficient Markdown instead of HTML. Normal browser requests pass through untouched. Includes a built-in rule that unwraps Next.js `/_next/image` optimization URLs back to their original paths.\n\n## How it works\n\nThe middleware uses content negotiation. When a client sends `Accept: text/markdown`, HTML responses are automatically converted to Markdown. The response includes:\n\n- `Content-Type: text/markdown; charset=utf-8`\n- `x-markdown-tokens` header with the token count\n- `ETag` header with a content hash for cache validation\n- `Vary: Accept` header so CDNs cache HTML and Markdown separately\n- `content-signal` header with publisher consent signals (when configured)\n- `Server-Timing` and `x-markdown-timing` headers with conversion timing (when `serverTiming: true`)\n\n## Install\n\n```bash\nnpm install @markdown-for-agents/nextjs markdown-for-agents\n```\n\n> `markdown-for-agents` is installed automatically as a dependency.\n\n## Usage\n\nUse a [Next.js proxy](https://nextjs.org/docs/app/building-your-application/routing/middleware) for site-wide conversion. The proxy checks the `Accept` header and fetches the page as HTML before converting:\n\n```ts\n// proxy.ts\nimport { NextRequest, NextResponse, NextFetchEvent } from 'next/server';\nimport { withMarkdown } from '@markdown-for-agents/nextjs';\n\nconst options = {\n    extract: true,\n    deduplicate: true,\n    contentSignal: { aiTrain: true, search: true, aiInput: true }\n};\n\nexport async function proxy(request: NextRequest, event: NextFetchEvent) {\n    const accept = request.headers.get('accept') ?? '';\n    if (!accept.includes('text/markdown')) {\n        return NextResponse.next();\n    }\n\n    const handler = withMarkdown(async (req: NextRequest) => fetch(req.url, { headers: { accept: 'text/html' } }), { ...options, baseUrl: request.nextUrl.origin });\n\n    return (await handler(request, event)) ?? NextResponse.next();\n}\n\nexport const config = {\n    matcher: ['/', '/about', '/blog/:slug*']\n};\n```\n\n#### How it works\n\nThe inner `fetch` sends `accept: 'text/html'`, so when the request re-enters the proxy it hits the early `return NextResponse.next()` and renders the page normally — no infinite loop. Only `Accept: text/markdown` requests take this path; all other traffic passes straight through.\n\n```mermaid\nsequenceDiagram\n    participant Agent as AI Agent\n    participant MW as Next.js Middleware\n    participant Page as Next.js Page\n\n    Agent->>MW: GET /about (Accept: text/markdown)\n    MW->>MW: Detects text/markdown\n    MW->>Page: fetch /about (Accept: text/html)\n    Page-->>MW: HTML response\n    MW->>MW: Convert HTML to Markdown\n    MW-->>Agent: Markdown response (text/markdown)\n\n    Note over Agent,Page: Browser requests (no text/markdown) pass straight through\n```\n\n#### Tradeoffs\n\nThis pattern makes a **second HTTP request** to your own server for every Markdown conversion. Next.js proxy runs _before_ page rendering and has no access to the response body, so there is no way to avoid this round trip within Next.js itself.\n\nIn practice this is usually fine:\n\n- **Latency** — the second request is localhost-to-localhost (or edge-to-edge on Vercel), so it adds minimal overhead.\n- **Compute** — your page renders twice for AI agent requests. For static or ISR pages this is a cache hit. For dynamic pages the extra render is the main cost.\n- **Scope control** — use `config.matcher` to limit which routes are eligible, so non-content pages (API routes, auth, assets) are never double-fetched.\n\n#### Real-world timing\n\nMeasured on a production Next.js site deployed to Vercel (enable with `serverTiming: true`). The `x-markdown-timing` header breaks down the two phases. Token counts are for the converted Markdown output:\n\n| Page                | Tokens | Vercel cache | Proxy fetch | Conversion | Total     |\n| ------------------- | ------ | ------------ | ----------- | ---------- | --------- |\n| Landing page        | ~500   | HIT          | 31ms        | 1.4ms      | **32ms**  |\n| About page (cold)   | ~1,000 | PRERENDER    | 325ms       | 1.7ms      | **327ms** |\n| About page (warm)   | ~1,000 | HIT          | 43ms        | 1.5ms      | **45ms**  |\n| Long article (cold) | ~3,200 | PRERENDER    | 443ms       | 76ms       | **519ms** |\n| Long article (warm) | ~3,200 | HIT          | 36ms        | 21ms       | **57ms**  |\n\nTakeaways:\n\n- **Conversion is fast** — 1-21ms for cached pages, up to ~76ms for a 3,200-token article on a cold hit.\n- **Proxy fetch dominates** — the self-fetch to get the HTML is the main cost, not the Markdown conversion.\n- **ISR/static pages are nearly free** — once Vercel has cached the HTML, the proxy fetch drops to 30-45ms (edge-to-edge).\n- **Cold hits include SSR time** — the 300-440ms proxy fetch on `PRERENDER` is Next.js rendering the page server-side. Subsequent requests are fast.\n\n`withMarkdown` automatically includes `nextImageRule`, which unwraps `/_next/image` optimization URLs back to their original paths. For example, `/_next/image?url=%2Fphoto.png&w=640&q=75` becomes `/photo.png` in the markdown output.\n\nYou can also use `nextImageRule` standalone with the core `convert` function:\n\n```ts\nimport { nextImageRule } from '@markdown-for-agents/nextjs';\nimport { convert } from 'markdown-for-agents';\n\nconst { markdown } = convert(html, { rules: [nextImageRule] });\n```\n\n> **Full working example:** See [`examples/nextjs/`](https://github.com/KKonstantinov/markdown-for-agents/tree/main/examples/nextjs) for a complete Next.js app demonstrating the proxy pattern with integration tests.\n\n## Options\n\nAccepts all [`markdown-for-agents` options](https://www.npmjs.com/package/markdown-for-agents#options):\n\n```ts\nconst handler = withMarkdown(async req => fetch(req.url, { headers: { accept: 'text/html' } }), {\n    // Strip nav, ads, sidebars, cookie banners\n    extract: true,\n\n    // Resolve relative URLs\n    baseUrl: 'https://example.com',\n\n    // Remove duplicate content blocks\n    deduplicate: true,\n\n    // Custom token counter (e.g. tiktoken)\n    tokenCounter: text => ({ tokens: enc.encode(text).length, characters: text.length, words: text.split(/\\s+/).filter(Boolean).length }),\n\n    // Publisher consent signal header\n    contentSignal: { aiTrain: true, search: true, aiInput: true }\n});\n```\n\n## Other frameworks\n\n| Package                                                                                      | Framework                                    |\n| -------------------------------------------------------------------------------------------- | -------------------------------------------- |\n| [`@markdown-for-agents/express`](https://www.npmjs.com/package/@markdown-for-agents/express) | Express                                      |\n| [`@markdown-for-agents/fastify`](https://www.npmjs.com/package/@markdown-for-agents/fastify) | Fastify                                      |\n| [`@markdown-for-agents/hono`](https://www.npmjs.com/package/@markdown-for-agents/hono)       | Hono                                         |\n| [`@markdown-for-agents/web`](https://www.npmjs.com/package/@markdown-for-agents/web)         | Web Standard (Cloudflare Workers, Deno, Bun) |\n\n## License\n\nMIT\n","readmeFilename":"README.md"}