{"_id":"@aihu-plugin/kindly-note","_rev":"6-822cadee96a8b23b3757a34229a15b89","name":"@aihu-plugin/kindly-note","dist-tags":{"canary":"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113","latest":"0.2.4"},"versions":{"0.2.0":{"name":"@aihu-plugin/kindly-note","version":"0.2.0","license":"MIT","_id":"@aihu-plugin/kindly-note@0.2.0","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-kindly-note#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"8b444ecb15ea11b5fb897e85c6504fa1d06f0e13","tarball":"https://registry.npmjs.org/@aihu-plugin/kindly-note/-/kindly-note-0.2.0.tgz","fileCount":7,"integrity":"sha512-djskuAU4GVUs6CQRJjcdKrJBdJKUrCw4YRniff2MfAYf4JJGW7+zM5dHAlmX3tJCps9BFT1ijHGu83AuLfGb5g==","signatures":[{"sig":"MEQCIDaUdS9QmWeJFFb+BnzuJ6sXq/ZEA2BMCmdl1cN6YBUyAiBRlLiPaTsnRyW7Sx5v4vsnwa6/MMlsl6N2asMHis3yeg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fkindly-note@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":79631},"main":"./dist/index.js","type":"module","_from":"file:/tmp/tmp.j8XoS5uPDf/aihu-plugin-kindly-note-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/tmp/tmp.j8XoS5uPDf/aihu-plugin-kindly-note-0.2.0.tgz","_integrity":"sha512-djskuAU4GVUs6CQRJjcdKrJBdJKUrCw4YRniff2MfAYf4JJGW7+zM5dHAlmX3tJCps9BFT1ijHGu83AuLfGb5g==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-kindly-note"},"_npmVersion":"10.8.2","description":"Runtime syntax highlighting + markdown rendering for aihu — <aihu-code>/<aihu-markdown> custom elements + signal-aware highlight()/renderMarkdown() helpers, powered by published @kindly-note/* packages with lazy loading.","directories":{},"sideEffects":["./dist/element.js","./dist/markdown-element.js"],"_nodeVersion":"22.12.0","dependencies":{"@aihu/signals":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@aihu/plugin":"0.1.0","@aihu/server":"0.2.0","@kindly-note/core":"^0.2.0","@kindly-note/lang-json":"^0.1.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/lang-typescript":"^0.1.0","@kindly-note/render-markdown":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0"},"peerDependencies":{"@kindly-note/core":"^0.2.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/render-markdown":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0"},"peerDependenciesMeta":{"@kindly-note/core":{"optional":true},"@kindly-note/emitters-html":{"optional":true},"@kindly-note/render-markdown":{"optional":true},"@kindly-note/loader-dynamic-import":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/kindly-note_0.2.0_1779748940921_0.027529510486865583","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@aihu-plugin/kindly-note","version":"0.2.1","license":"MIT","_id":"@aihu-plugin/kindly-note@0.2.1","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-kindly-note#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"b8022ab49cb6f4a9be0cda69ebeac8debffa82b6","tarball":"https://registry.npmjs.org/@aihu-plugin/kindly-note/-/kindly-note-0.2.1.tgz","fileCount":7,"integrity":"sha512-9wC/iEEds2geTcp3bkKfr9I7nuV45DU9mQrnjh9TBtGU4deZP1859+7JW3766bPmFbdQyMN1faRoi6Mmjto3bw==","signatures":[{"sig":"MEYCIQC2sFIS59FBj0S2lVJtQ3vLpvUu8Sh8iZegJVbo0MeSXwIhAMMo6Jy4fg4+fEh1wRSePlBhduch4cO+bvD6zyJ7zqm6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fkindly-note@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":79579},"main":"./dist/index.js","type":"module","_from":"file:/tmp/tmp.FtbkPMvbQb/aihu-plugin-kindly-note-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/tmp/tmp.FtbkPMvbQb/aihu-plugin-kindly-note-0.2.1.tgz","_integrity":"sha512-9wC/iEEds2geTcp3bkKfr9I7nuV45DU9mQrnjh9TBtGU4deZP1859+7JW3766bPmFbdQyMN1faRoi6Mmjto3bw==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-kindly-note"},"_npmVersion":"10.8.2","description":"Runtime syntax highlighting + markdown rendering for aihu — <aihu-code>/<aihu-markdown> custom elements + signal-aware highlight()/renderMarkdown() helpers, powered by published @kindly-note/* packages with lazy loading.","directories":{},"sideEffects":["./dist/element.js","./dist/markdown-element.js"],"_nodeVersion":"22.12.0","dependencies":{"@aihu/signals":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@aihu/plugin":"0.1.0","@aihu/server":"0.2.0","@kindly-note/core":"^0.2.0","@kindly-note/lang-json":"^0.1.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/lang-typescript":"^0.1.0","@kindly-note/render-markdown":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0"},"peerDependencies":{"@kindly-note/core":"^0.2.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/render-markdown":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0"},"peerDependenciesMeta":{"@kindly-note/core":{"optional":true},"@kindly-note/emitters-html":{"optional":true},"@kindly-note/render-markdown":{"optional":true},"@kindly-note/loader-dynamic-import":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/kindly-note_0.2.1_1780691072369_0.5645198209622391","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@aihu-plugin/kindly-note","version":"0.2.2","license":"MIT","_id":"@aihu-plugin/kindly-note@0.2.2","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-kindly-note#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"bf5f28a45310ffece6bfa790ea3e0c9ab02f96f5","tarball":"https://registry.npmjs.org/@aihu-plugin/kindly-note/-/kindly-note-0.2.2.tgz","fileCount":7,"integrity":"sha512-4tG0h8hjLuyQ31a6KnOw1uv+6nYDRUCqi3GloaL70BvywiDvnuy0cRXZl5BSJ205ZWa23EwpO7/PmhCJF+xnwQ==","signatures":[{"sig":"MEUCIFW+LOk2ZU7eHpvaTKrr1YF3DnrkeTVigHWvbgRnFl8wAiEA8t5YIqAEwypsI0h2wTQhJYDfSM6CajAQzxYuSzVGs6A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fkindly-note@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":79579},"main":"./dist/index.js","type":"module","_from":"file:/tmp/tmp.edmLzrZQS5/aihu-plugin-kindly-note-0.2.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/tmp/tmp.edmLzrZQS5/aihu-plugin-kindly-note-0.2.2.tgz","_integrity":"sha512-4tG0h8hjLuyQ31a6KnOw1uv+6nYDRUCqi3GloaL70BvywiDvnuy0cRXZl5BSJ205ZWa23EwpO7/PmhCJF+xnwQ==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-kindly-note"},"_npmVersion":"10.8.2","description":"Runtime syntax highlighting + markdown rendering for aihu — <aihu-code>/<aihu-markdown> custom elements + signal-aware highlight()/renderMarkdown() helpers, powered by published @kindly-note/* packages with lazy loading.","directories":{},"sideEffects":["./dist/element.js","./dist/markdown-element.js"],"_nodeVersion":"22.12.0","dependencies":{"@aihu/signals":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@aihu/plugin":"0.1.0","@aihu/server":"0.2.1","@kindly-note/core":"^0.2.0","@kindly-note/lang-json":"^0.1.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/lang-typescript":"^0.1.0","@kindly-note/render-markdown":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0"},"peerDependencies":{"@kindly-note/core":"^0.2.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/render-markdown":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0"},"peerDependenciesMeta":{"@kindly-note/core":{"optional":true},"@kindly-note/emitters-html":{"optional":true},"@kindly-note/render-markdown":{"optional":true},"@kindly-note/loader-dynamic-import":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/kindly-note_0.2.2_1784389991078_0.8205978103107314","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113":{"name":"@aihu-plugin/kindly-note","version":"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113","license":"MIT","_id":"@aihu-plugin/kindly-note@0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-kindly-note#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"d463871098e4ac8924b8749723067730c9600599","tarball":"https://registry.npmjs.org/@aihu-plugin/kindly-note/-/kindly-note-0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113.tgz","fileCount":7,"integrity":"sha512-xiyOmVknrl7rN9PrHp5Yug+99JKYda8nqb30MBBAIudoIzW4BlYJTRzhS+y6CxrJCJ0ALPSdtOohbd6TZm9McQ==","signatures":[{"sig":"MEQCIF1fWuxp8Dz6NwW0HP8BfJWeIdFzExzYGDuvpFlFhNTnAiAeiWLI6SoG1kNBgrP2+gB+PookdpRIUrTPEt/5aWruiA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fkindly-note@0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":79823},"main":"./dist/index.js","type":"module","_from":"file:/tmp/tmp.UK9ELlKnDi/aihu-plugin-kindly-note-0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/tmp/tmp.UK9ELlKnDi/aihu-plugin-kindly-note-0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113.tgz","_integrity":"sha512-xiyOmVknrl7rN9PrHp5Yug+99JKYda8nqb30MBBAIudoIzW4BlYJTRzhS+y6CxrJCJ0ALPSdtOohbd6TZm9McQ==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-kindly-note"},"_npmVersion":"10.8.2","description":"Runtime syntax highlighting + markdown rendering for aihu — <aihu-code>/<aihu-markdown> custom elements + signal-aware highlight()/renderMarkdown() helpers, powered by published @kindly-note/* packages with lazy loading.","directories":{},"sideEffects":["./dist/element.js","./dist/markdown-element.js"],"_nodeVersion":"22.12.0","dependencies":{"@aihu/signals":"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@aihu/plugin":"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113","@aihu/server":"0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113","@kindly-note/core":"^0.2.0","@kindly-note/lang-json":"^0.1.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/lang-typescript":"^0.1.0","@kindly-note/render-markdown":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0"},"peerDependencies":{"@kindly-note/core":"^0.2.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/render-markdown":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0"},"peerDependenciesMeta":{"@kindly-note/core":{"optional":true},"@kindly-note/emitters-html":{"optional":true},"@kindly-note/render-markdown":{"optional":true},"@kindly-note/loader-dynamic-import":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/kindly-note_0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113_1784720478224_0.7507665177999951","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@aihu-plugin/kindly-note","version":"0.2.3","license":"MIT","_id":"@aihu-plugin/kindly-note@0.2.3","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-kindly-note#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"dist":{"shasum":"c5aa31a2ddc7867b6106a3e2ce1aca3cbbe95d9d","tarball":"https://registry.npmjs.org/@aihu-plugin/kindly-note/-/kindly-note-0.2.3.tgz","fileCount":7,"integrity":"sha512-Of8a5McVkRKDpA8R2QTW0rk+1ysfKNmScUUYjKF61Z6JbeEo7ufB5vNEGjvJyUtBPrmW2XWm8wVRJMCo3gF9Bw==","signatures":[{"sig":"MEYCIQCB7UQ3ia6k22HRGusyrdu6zeVcOJQmzwpBybJxZxJp7wIhAPRLsX7l3oE0TVN4niubDDoA6HjJreAysiEdLAF7Fylu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fkindly-note@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":79416},"main":"./dist/index.js","type":"module","_from":"file:/tmp/tmp.75AGNQ8xrV/aihu-plugin-kindly-note-0.2.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"_resolved":"/tmp/tmp.75AGNQ8xrV/aihu-plugin-kindly-note-0.2.3.tgz","_integrity":"sha512-Of8a5McVkRKDpA8R2QTW0rk+1ysfKNmScUUYjKF61Z6JbeEo7ufB5vNEGjvJyUtBPrmW2XWm8wVRJMCo3gF9Bw==","repository":{"url":"git+https://github.com/fellwork/aihu.git","type":"git","directory":"packages/plugin-kindly-note"},"_npmVersion":"10.8.2","description":"Runtime syntax highlighting + markdown rendering for aihu — <aihu-code>/<aihu-markdown> custom elements + signal-aware highlight()/renderMarkdown() helpers, powered by published @kindly-note/* packages with lazy loading.","directories":{},"sideEffects":["./dist/element.js","./dist/markdown-element.js"],"_nodeVersion":"22.12.0","dependencies":{"@aihu/signals":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@aihu/plugin":"0.1.0","@aihu/server":"0.3.0","@kindly-note/core":"^0.2.0","@kindly-note/lang-json":"^0.1.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/lang-typescript":"^0.1.0","@kindly-note/render-markdown":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0"},"peerDependencies":{"@kindly-note/core":"^0.2.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/render-markdown":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0"},"peerDependenciesMeta":{"@kindly-note/core":{"optional":true},"@kindly-note/emitters-html":{"optional":true},"@kindly-note/render-markdown":{"optional":true},"@kindly-note/loader-dynamic-import":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/kindly-note_0.2.3_1784822645728_0.6991046217083994","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@aihu-plugin/kindly-note","version":"0.2.4","license":"MIT","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"sideEffects":["./dist/element.js","./dist/markdown-element.js"],"scripts":{"build":"rolldown -c","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"peerDependencies":{"@kindly-note/core":"^0.2.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0","@kindly-note/render-markdown":"^0.1.0"},"peerDependenciesMeta":{"@kindly-note/core":{"optional":true},"@kindly-note/emitters-html":{"optional":true},"@kindly-note/loader-dynamic-import":{"optional":true},"@kindly-note/render-markdown":{"optional":true}},"dependencies":{"@aihu/signals":"0.5.0"},"devDependencies":{"@aihu/plugin":"0.1.0","@aihu/server":"0.4.1","@kindly-note/core":"^0.2.0","@kindly-note/emitters-html":"^0.1.0","@kindly-note/loader-dynamic-import":"^0.1.0","@kindly-note/lang-json":"^0.1.0","@kindly-note/lang-typescript":"^0.1.0","@kindly-note/render-markdown":"^0.1.0"},"description":"Runtime syntax highlighting + markdown rendering for aihu — <aihu-code>/<aihu-markdown> custom elements + signal-aware highlight()/renderMarkdown() helpers, powered by published @kindly-note/* packages with lazy loading.","repository":{"type":"git","url":"git+https://github.com/fellwork/aihu.git","directory":"packages/plugin-kindly-note"},"homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-kindly-note#readme","bugs":{"url":"https://github.com/fellwork/aihu/issues"},"publishConfig":{"access":"public"},"_id":"@aihu-plugin/kindly-note@0.2.4","_integrity":"sha512-tywio3Fe2peVXPPf6vJw+U7g23e0P1lwBn7hVl2YK6Rv6J+tA1ebvZudUySejlcScYOMAoMkFEVcgD2ck9lqWA==","_resolved":"/tmp/tmp.TcOZeAixIS/aihu-plugin-kindly-note-0.2.4.tgz","_from":"file:/tmp/tmp.TcOZeAixIS/aihu-plugin-kindly-note-0.2.4.tgz","_nodeVersion":"22.12.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-tywio3Fe2peVXPPf6vJw+U7g23e0P1lwBn7hVl2YK6Rv6J+tA1ebvZudUySejlcScYOMAoMkFEVcgD2ck9lqWA==","shasum":"7626f1734d185b41f9d258fcff17c20f78173f5e","tarball":"https://registry.npmjs.org/@aihu-plugin/kindly-note/-/kindly-note-0.2.4.tgz","fileCount":7,"unpackedSize":79522,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aihu-plugin%2fkindly-note@0.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBPTXjILad4sXzW+UBEUcZMxxSPDjdk4fiufDAXqAEt4AiEAtfSVZH2rx1Da4Mx4pWstsG3jpbIdD7i1F0zQems2vtU="}]},"_npmUser":{"name":"srmcguirt","email":"srmcguirt@gmail.com"},"directories":{},"maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/kindly-note_0.2.4_1785028555180_0.5582270120936035"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-25T22:42:20.756Z","modified":"2026-07-26T01:15:55.717Z","0.2.0":"2026-05-25T22:42:21.056Z","0.2.1":"2026-06-05T20:24:32.516Z","0.2.2":"2026-07-18T15:53:11.230Z","0.0.0-canary-331b0151f7756608a00168b6de1d3b7bae639113":"2026-07-22T11:41:18.371Z","0.2.3":"2026-07-23T16:04:05.896Z","0.2.4":"2026-07-26T01:15:55.319Z"},"bugs":{"url":"https://github.com/fellwork/aihu/issues"},"license":"MIT","homepage":"https://github.com/fellwork/aihu/tree/main/packages/plugin-kindly-note#readme","repository":{"type":"git","url":"git+https://github.com/fellwork/aihu.git","directory":"packages/plugin-kindly-note"},"description":"Runtime syntax highlighting + markdown rendering for aihu — <aihu-code>/<aihu-markdown> custom elements + signal-aware highlight()/renderMarkdown() helpers, powered by published @kindly-note/* packages with lazy loading.","maintainers":[{"name":"srmcguirt","email":"srmcguirt@gmail.com"}],"readme":"# @aihu-plugin/kindly-note\n\n> **Aihu** — agentic discovery and interaction, for human purpose.\n\nRuntime syntax highlighting + markdown rendering for aihu — <aihu-code>/<aihu-markdown> custom elements + signal-aware highlight()/renderMarkdown() helpers, powered by published @kindly-note/* packages with lazy loading.\n\n\n<!-- BEGIN_HANDWRITTEN: prose -->\nRuntime syntax highlighting **and** markdown rendering for\n[aihu](../../README.md), powered by the published\n[`@kindly-note/*`](https://www.npmjs.com/org/kindly-note) packages. Ships two\ncustom elements and two signal-aware helpers, all rendered **in the browser, at\nruntime**, with **lazy-loaded** peers:\n\n- **Highlighting** — `<aihu-code>` + `highlight()` render scoped-span HTML, with\n  per-language tokenizers fetched on demand (~1.5 kB gz each).\n- **Markdown rendering** — `<aihu-markdown>` + `renderMarkdown()` render\n  CommonMark to **safe** semantic HTML via `@kindly-note/render-markdown` (raw\n  HTML escaped, `javascript:`/unsafe `data:` URLs neutralised, `on*` handlers\n  never emitted — safe for `innerHTML`).\n\n## Peer dependencies\n\nThe kindly-note engine + emitter + lazy loader are peer dependencies for the\nhighlighting half:\n\n```bash\nbun add @kindly-note/core @kindly-note/emitters-html @kindly-note/loader-dynamic-import\n```\n\nFor the markdown half, add the one-call renderer (it pulls in\n`@kindly-note/emitters-markdown` + `@kindly-note/lang-markdown` transitively):\n\n```bash\nbun add @kindly-note/render-markdown\n```\n\nLanguage tokenizers are fetched on demand via dynamic `import()`. Install the\nones you intend to use so the resolver can find them:\n\n```bash\nbun add @kindly-note/lang-typescript @kindly-note/lang-json @kindly-note/lang-markdown\n```\n\nPair with a theme for the `kn-*` classes:\n\n```ts\nimport '@kindly-note/themes-default/dark.css'\n```\n\n## Usage\n\n### `<aihu-code>` element\n\n```ts\nimport { defineCodeElement } from '@aihu-plugin/kindly-note'\ndefineCodeElement() // registers <aihu-code> (idempotent, SSR-safe)\n```\n\n```html\n<aihu-code lang=\"typescript\">const x: number = 1</aihu-code>\n```\n\nSignal-driven (re-highlights automatically when the signal changes):\n\n```ts\nimport { signal } from '@aihu/signals'\nconst [code, setCode] = signal('const a = 1')\n\nconst el = document.createElement('aihu-code')\nel.language = 'typescript' // JS property is `language` (native `lang` is reserved)\nel.code = code // pass the signal reader → element subscribes\ndocument.body.append(el)\n\nsetCode('let b = 2') // <aihu-code> re-highlights\n```\n\n### `highlight()` helper\n\n```ts\nimport { highlight } from '@aihu-plugin/kindly-note'\n\nconst { html, language, fallback } = await highlight('{\"a\": 1}', 'json')\n// html === '<span class=\"kn-punctuation\">{</span>…'\n```\n\n`highlight()` never throws: an unknown language returns the HTML-escaped source\nwith `fallback: true`.\n\n### `<aihu-markdown>` element\n\n```ts\nimport { defineMarkdownElement } from '@aihu-plugin/kindly-note'\ndefineMarkdownElement() // registers <aihu-markdown> (idempotent, SSR-safe)\n```\n\n```html\n<aihu-markdown># Hello\n\n**bold** and a [link](https://example.com).</aihu-markdown>\n```\n\nRendered markup lands in an open shadow root. Signal-driven (re-renders\nautomatically when the signal changes):\n\n```ts\nimport { signal } from '@aihu/signals'\nconst [md, setMd] = signal('# First')\n\nconst el = document.createElement('aihu-markdown')\nel.source = md // pass the signal reader → element subscribes (alias: `el.markdown`)\ndocument.body.append(el)\n\nsetMd('## Second') // <aihu-markdown> re-renders\n```\n\n### `renderMarkdown()` helper\n\n```ts\nimport { renderMarkdown } from '@aihu-plugin/kindly-note'\n\nconst html = await renderMarkdown('# Hi\\n\\n**bold**')\n// html === '<h1>Hi</h1>\\n<p><strong>bold</strong></p>' — safe for innerHTML\n```\n\nSecurity-first by default: raw HTML is escaped and dangerous URL schemes are\nneutralised. Highlight code fences by passing language packs:\n\n```ts\nimport json from '@kindly-note/lang-json'\nconst html = await renderMarkdown('```json\\n{\"a\": 1}\\n```', { languages: [json] })\n```\n\nGFM (tables / task-lists / strikethrough / autolinks) is intentionally not\nsupported — that lives in `@kindly-note/lang-markdown-gfm`.\n\n### Plugin registration\n\n```ts\n// aihu.config.ts\nimport { kindlyNote } from '@aihu-plugin/kindly-note'\nimport { defineAihuConfig } from '@aihu/server'\n\nexport default defineAihuConfig({ plugins: [kindlyNote()] })\n```\n\n## Scope\n\nThis package ships **both** halves: syntax **highlighting** (`<aihu-code>` /\n`highlight()`) and markdown **rendering** (`<aihu-markdown>` / `renderMarkdown`),\nthe latter via the published `@kindly-note/render-markdown`. CommonMark only —\nGFM (tables / task-lists / strikethrough / autolinks) is out of scope and lives\nin `@kindly-note/lang-markdown-gfm`.\n<!-- END_HANDWRITTEN: prose -->\n\n## Install\n\n<!-- BEGIN_AUTOGEN: install -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\n```bash\nnpm install @aihu-plugin/kindly-note\n# or\nbun add @aihu-plugin/kindly-note\n```\n\n<sub><i>Auto-generated against `@aihu-plugin/kindly-note@0.2.4`.</i></sub>\n\n<!-- END_AUTOGEN: install -->\n\n## Package facts\n\n<!-- BEGIN_AUTOGEN: stats -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\n| | |\n|---|---|\n| **Version** | `0.2.4` |\n| **Tier** | F — UI — runtime syntax highlighting + markdown custom elements |\n| **Bundle size** | 1.65 kB (gz) — limit 1850 B |\n| **Published files** | 3 entries |\n| **License** | MIT |\n\n<sub><i>Auto-generated against `@aihu-plugin/kindly-note@0.2.4`.</i></sub>\n\n<!-- END_AUTOGEN: stats -->\n\n## Exports\n\n<!-- BEGIN_AUTOGEN: exports -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\n| Subpath | ESM | CJS |\n|---|---|---|\n| `.` | `./dist/index.js` | `—` |\n\n<sub><i>Auto-generated against `@aihu-plugin/kindly-note@0.2.4`.</i></sub>\n\n<!-- END_AUTOGEN: exports -->\n\n## Dependencies\n\n<!-- BEGIN_AUTOGEN: deps -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\n**Dependencies:**\n\n- `@aihu/signals` — `workspace:*`\n\n**Peer dependencies:**\n\n- `@kindly-note/core` — `^0.2.0`\n- `@kindly-note/emitters-html` — `^0.1.0`\n- `@kindly-note/loader-dynamic-import` — `^0.1.0`\n- `@kindly-note/render-markdown` — `^0.1.0`\n\n<sub><i>Auto-generated against `@aihu-plugin/kindly-note@0.2.4`.</i></sub>\n\n<!-- END_AUTOGEN: deps -->\n\n## See also\n\n<!-- BEGIN_AUTOGEN: see-also -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\n- [@aihu/ui](../ui)\n- [Aihu framework root](../../README.md)\n\n<sub><i>Auto-generated against `@aihu-plugin/kindly-note@0.2.4`.</i></sub>\n\n<!-- END_AUTOGEN: see-also -->\n\n## License\n\n<!-- BEGIN_AUTOGEN: license -->\n<!-- regenerate: bun scripts/sync-readme.ts (also runs in pre-commit + CI) -->\n\nMIT — see [LICENSE](../../LICENSE).\n\n<sub><i>Auto-generated against `@aihu-plugin/kindly-note@0.2.4`.</i></sub>\n\n<!-- END_AUTOGEN: license -->\n","readmeFilename":"README.md"}