{"_id":"@anokye-labs/kbexplorer-provider-rich-markdown","_rev":"3-7f22a4d1238aa6811305b45620d86ec0","name":"@anokye-labs/kbexplorer-provider-rich-markdown","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.1":{"name":"@anokye-labs/kbexplorer-provider-rich-markdown","version":"0.1.1","keywords":["kbexplorer","provider","markdown","knowledge-graph","knowledge-base"],"author":{"name":"Anokye Labs"},"license":"MIT","_id":"@anokye-labs/kbexplorer-provider-rich-markdown@0.1.1","maintainers":[{"name":"hoopsomuah","email":"hoop@somuah.com"}],"homepage":"https://github.com/anokye-labs/kbexplorer-provider-rich-markdown","bugs":{"url":"https://github.com/anokye-labs/kbexplorer-provider-rich-markdown/issues"},"dist":{"shasum":"a1749ff7fa9f0e14873ee681364ed6b8179e9690","tarball":"https://registry.npmjs.org/@anokye-labs/kbexplorer-provider-rich-markdown/-/kbexplorer-provider-rich-markdown-0.1.1.tgz","fileCount":7,"integrity":"sha512-36iFTNNwWv6jodDfbzDA3WhXD78Ro0Ap41LNCCL9GWux2quZ3GJYL/lLgKHtxF2Bj4hZjUtiqnsUgtTI2F4ziA==","signatures":[{"sig":"MEUCIFGwVIycKJjdGQzVDBfypHkiyWd78fMBm69JczWih3lvAiEA3vMk6HTo/6tzGK9jocXRWFikUo4GXgRqzDqBLC1hjQ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49255},"main":"./src/providers/rich-markdown.js","type":"module","engines":{"node":">=22"},"exports":{".":"./src/providers/rich-markdown.js","./lib":"./src/lib/rich-markdown.js"},"gitHead":"0b0cb3fe7269454a882c14cf3ed123962b4047d3","scripts":{"test":"node scripts/run-tests.js"},"_npmUser":{"name":"hoopsomuah","email":"hoop@somuah.com"},"repository":{"url":"git+https://github.com/anokye-labs/kbexplorer-provider-rich-markdown.git","type":"git"},"_npmVersion":"11.16.0","description":"Loadable kbexplorer provider that ingests a rich Markdown document into a KBGraph fragment","directories":{},"_nodeVersion":"26.3.0","dependencies":{"@anokye-labs/kbexplorer-core":"github:anokye-labs/kbexplorer-core#v0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/kbexplorer-provider-rich-markdown_0.1.1_1783048179330_0.599935578865787","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@anokye-labs/kbexplorer-provider-rich-markdown","version":"0.1.2","keywords":["kbexplorer","provider","markdown","knowledge-graph","knowledge-base"],"author":{"name":"Anokye Labs"},"license":"MIT","_id":"@anokye-labs/kbexplorer-provider-rich-markdown@0.1.2","maintainers":[{"name":"hoopsomuah","email":"hoop@somuah.com"}],"homepage":"https://github.com/anokye-labs/kbexplorer-provider-rich-markdown","bugs":{"url":"https://github.com/anokye-labs/kbexplorer-provider-rich-markdown/issues"},"dist":{"shasum":"8be535076d7742a1a149d35fa0c522ffec363809","tarball":"https://registry.npmjs.org/@anokye-labs/kbexplorer-provider-rich-markdown/-/kbexplorer-provider-rich-markdown-0.1.2.tgz","fileCount":7,"integrity":"sha512-goRz2U/R7hs8MGsV1IxmScsFgTSxMl34KtDNBIUjTZI4/V2U8qaems9tO3VYmtUULWmveh+LUSEr0hcoFSgIKA==","signatures":[{"sig":"MEUCIQCzQO9lU30aWpdEhQRo+zbJs+C1vU6eZ11Zgo5N6QwSPQIgf18j9OqkqUNl14NYpobPPvuKPnficJD9PC6cEJj7SSc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anokye-labs%2fkbexplorer-provider-rich-markdown@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47941},"main":"./src/providers/rich-markdown.js","type":"module","engines":{"node":">=20"},"exports":{".":"./src/providers/rich-markdown.js","./lib":"./src/lib/rich-markdown.js"},"gitHead":"6a67d7451d1c228170f75bf3e8d7dadfbb3d31d0","scripts":{"test":"node scripts/run-tests.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:eb31f2b2-a0f4-4290-a83d-c13f26f8b8b2"}},"repository":{"url":"git+https://github.com/anokye-labs/kbexplorer-provider-rich-markdown.git","type":"git"},"_npmVersion":"11.18.0","description":"Loadable kbexplorer provider that ingests a rich Markdown document into a KBGraph fragment","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@anokye-labs/kbexplorer-core":"^0.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/kbexplorer-provider-rich-markdown_0.1.2_1783092305472_0.39384711132858596","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@anokye-labs/kbexplorer-provider-rich-markdown","version":"0.1.3","description":"Loadable kbexplorer provider that ingests a rich Markdown document into a KBGraph fragment","type":"module","exports":{".":"./src/providers/rich-markdown.js","./lib":"./src/lib/rich-markdown.js"},"main":"./src/providers/rich-markdown.js","scripts":{"test":"node scripts/run-tests.js"},"keywords":["kbexplorer","provider","markdown","knowledge-graph","knowledge-base"],"author":{"name":"Anokye Labs"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/anokye-labs/kbexplorer-provider-rich-markdown.git"},"homepage":"https://github.com/anokye-labs/kbexplorer-provider-rich-markdown","engines":{"node":">=22"},"publishConfig":{"access":"public"},"dependencies":{"@anokye-labs/kbexplorer-core":"^0.6.0"},"gitHead":"8dbadeb2e63254411239f21a9086949aa06b9c4e","_id":"@anokye-labs/kbexplorer-provider-rich-markdown@0.1.3","bugs":{"url":"https://github.com/anokye-labs/kbexplorer-provider-rich-markdown/issues"},"_nodeVersion":"22.23.2","_npmVersion":"12.0.2","dist":{"integrity":"sha512-iitYmwv9C7k/cjGQ4IfdxfEYEZVbtcfM10/teTWh2ndLBUgM1S2/acV/zWYvlxQAk1oZM58QkoFoHgcdcJ46tA==","shasum":"5c88b078cb6f660eea98f14bd760049b6ed8bf23","tarball":"https://registry.npmjs.org/@anokye-labs/kbexplorer-provider-rich-markdown/-/kbexplorer-provider-rich-markdown-0.1.3.tgz","fileCount":7,"unpackedSize":47941,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anokye-labs%2fkbexplorer-provider-rich-markdown@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCy4Ww84VUFo7p+IV+SJdIYsvT6lBmFLLGkUIUYF5mD6QIhAJTDQFxfcGuRDDf2pPVs9KSpyaEBpETkdEIh1/M/IsBx"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:eb31f2b2-a0f4-4290-a83d-c13f26f8b8b2"}},"directories":{},"maintainers":[{"name":"hoopsomuah","email":"hoop@somuah.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/kbexplorer-provider-rich-markdown_0.1.3_1787446486983_0.015337087511193115"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-03T03:09:39.205Z","modified":"2026-08-23T00:54:47.436Z","0.1.1":"2026-07-03T03:09:39.475Z","0.1.2":"2026-07-03T15:25:05.644Z","0.1.3":"2026-08-23T00:54:47.126Z"},"bugs":{"url":"https://github.com/anokye-labs/kbexplorer-provider-rich-markdown/issues"},"author":{"name":"Anokye Labs"},"license":"MIT","homepage":"https://github.com/anokye-labs/kbexplorer-provider-rich-markdown","keywords":["kbexplorer","provider","markdown","knowledge-graph","knowledge-base"],"repository":{"type":"git","url":"git+https://github.com/anokye-labs/kbexplorer-provider-rich-markdown.git"},"description":"Loadable kbexplorer provider that ingests a rich Markdown document into a KBGraph fragment","maintainers":[{"name":"hoopsomuah","email":"hoop@somuah.com"}],"readme":"# @anokye-labs/kbexplorer-provider-rich-markdown\n\nA loadable [kbexplorer](https://github.com/anokye-labs) **provider** that ingests\na single rich Markdown document into a `KBGraph` fragment — one node plus its\ntyped edges. It is pluggable infrastructure in the same category as an iCal or\ndot-graph reader: any kbexplorer surface (the CLI, the template/website SPA, the\nfuture canvas) loads it through the `config.yaml` → `defineProvider()` seam.\n\nIt depends only on the shared-contracts package\n[`@anokye-labs/kbexplorer-core`](https://github.com/anokye-labs/kbexplorer-core)\n(`v0.3.0`). The filesystem boundary lives in the provider; the parsing/extraction\ncore is pure (no I/O, no network, no LLM — identical input → byte-identical\noutput).\n\n## Install\n\n```bash\nnpm install github:anokye-labs/kbexplorer-provider-rich-markdown#v0.1.0\n```\n\n## Exports\n\n| Specifier | What it is |\n|---|---|\n| `@anokye-labs/kbexplorer-provider-rich-markdown` | The `defineProvider()` factory (default export) plus `apiVersion`, `capabilities`, `resolveIdentityOptions`, `RichMarkdownError`, `RichMarkdownErrorCode`. This is what a host loads. |\n| `@anokye-labs/kbexplorer-provider-rich-markdown/lib` | The pure ingestion library: `ingestRichMarkdown`, `parseRichFrontmatter`, `extractEmbeddedBlocks`, `extractLinkEdges`, `makeSourceRef`, `RICH_MARKDOWN_BLOCK_LANGS`. |\n\n## Usage\n\nAs a loaded provider (the host supplies config and calls `resolve()`):\n\n```js\nimport provider from '@anokye-labs/kbexplorer-provider-rich-markdown';\n\nconst instance = provider({\n  name: 'My Docs',\n  cluster: 'docs',\n  options: { path: 'docs/intro.md' },\n});\nconst { nodes, edges } = await instance.resolve({ config: kbConfig });\n```\n\nDirectly against the pure library (no filesystem):\n\n```js\nimport { ingestRichMarkdown } from '@anokye-labs/kbexplorer-provider-rich-markdown/lib';\n\nconst fragment = ingestRichMarkdown({ content: markdownString, cluster: 'docs' });\n```\n\nSee [`docs/rich-markdown-provider.md`](docs/rich-markdown-provider.md) for the\nfull configuration reference and\n[`docs/samples/rich-markdown-sample.md`](docs/samples/rich-markdown-sample.md)\nfor a worked example.\n\n## Develop\n\n```bash\nnpm ci\nnpm test   # node --test, via scripts/run-tests.js\n```\n\nNo build step: the package ships pure ESM JavaScript directly from `src/`.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}