{"_id":"@accuser/svelte-mdast-gfm","_rev":"1-3d03dd405291c25d778edd57f81533ef","name":"@accuser/svelte-mdast-gfm","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@accuser/svelte-mdast-gfm","version":"0.1.0","keywords":["gfm","github flavored markdown","mdast","svelte","svelte-mdast","sveltekit"],"author":{"url":"https://github.com/accuser","name":"Matthew Gibbons","email":"mhgibbons@me.com"},"license":"MIT","_id":"@accuser/svelte-mdast-gfm@0.1.0","maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"homepage":"https://github.com/accuser/svelte-mdast-gfm","bugs":{"url":"https://github.com/accuser/svelte-mdast-gfm/issues"},"dist":{"shasum":"0b72dd43d77b97ef040b9f0da925496bfbc41b37","tarball":"https://registry.npmjs.org/@accuser/svelte-mdast-gfm/-/svelte-mdast-gfm-0.1.0.tgz","fileCount":17,"integrity":"sha512-ZVZKDBG5N8hXXr1xb+ZaZreRkvW/e8JzQI4KbkyiGWt7MgMrRTbGWI9h0RsVilaLjEffR234dB7GB1hSMDiS7A==","signatures":[{"sig":"MEQCIESOWD9Sm/X9D66cmv+ZK99MS9zNClHJ1AShQRKy9Ex8AiBYmjEjmvSwqhhd/zl5T3cRszaW+7YwFcVwqn/SX4495A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8450},"type":"module","_from":"file:accuser-svelte-mdast-gfm-0.1.0.tgz","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"private":false,"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"vitest","build":"vite build && pnpm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","format":"prettier --write .","package":"svelte-kit sync && svelte-package && publint","preview":"vite preview","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"},"_npmUser":{"name":"accuser","email":"mhgibbons@me.com"},"_resolved":"/tmp/4963b0b3e646aac28888de35e297fb3d/accuser-svelte-mdast-gfm-0.1.0.tgz","_integrity":"sha512-ZVZKDBG5N8hXXr1xb+ZaZreRkvW/e8JzQI4KbkyiGWt7MgMrRTbGWI9h0RsVilaLjEffR234dB7GB1hSMDiS7A==","repository":{"url":"git+https://github.com/accuser/svelte-mdast-gfm.git","type":"git"},"_npmVersion":"10.8.2","description":"Transform [Mdast](https://github.com/syntax-tree/mdast) into Svelte components.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@types/mdast":"^4.0.4","github-slugger":"^2.0.0","mdast-util-gfm":"^3.0.0","mdast-util-to-string":"^4.0.0","@accuser/svelte-mdast":"^0.4.1","@accuser/svelte-unist":"^0.5.0","micromark-extension-gfm":"^3.0.0","mdast-util-from-markdown":"^2.0.1","@accuser/mdast-util-type-guards":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.8","jsdom":"^25.0.1","tslib":"^2.7.0","eslint":"^9.12.0","svelte":"5.0.0-next.260","vitest":"^2.1.2","globals":"^15.10.0","publint":"^0.2.11","prettier":"^3.3.3","typescript":"^5.6.2","@types/node":"^22.7.4","svelte-check":"^4.0.4","@sveltejs/kit":"^2.6.2","@types/eslint":"^9.6.1","unist-builder":"^4.0.0","@sveltejs/package":"^2.3.5","typescript-eslint":"^8.8.0","eslint-plugin-svelte":"^2.44.1","@sveltejs/adapter-auto":"^3.2.5","eslint-config-prettier":"^9.1.0","prettier-plugin-svelte":"^3.2.7","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.8.0","@sveltejs/vite-plugin-svelte":"4.0.0-next.6","@typescript-eslint/eslint-plugin":"^8.8.0"},"peerDependencies":{"svelte":"^5.0.0-next.1"},"_npmOperationalInternal":{"tmp":"tmp/svelte-mdast-gfm_0.1.0_1728206118754_0.7585026702318494","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@accuser/svelte-mdast-gfm","version":"0.2.0","private":false,"license":"MIT","author":{"name":"Matthew Gibbons","email":"mhgibbons@me.com","url":"https://github.com/accuser"},"keywords":["gfm","github flavored markdown","mdast","svelte","svelte-mdast","sveltekit"],"homepage":"https://github.com/accuser/svelte-mdast-gfm","bugs":{"url":"https://github.com/accuser/svelte-mdast-gfm/issues"},"repository":{"type":"git","url":"git+https://github.com/accuser/svelte-mdast-gfm.git"},"exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"peerDependencies":{"svelte":"^5.0.0-next.1"},"dependencies":{"@accuser/mdast-util-type-guards":"^1.2.0","@accuser/svelte-unist":"^0.5.0","@types/mdast":"^4.0.4","github-slugger":"^2.0.0","mdast-util-from-markdown":"^2.0.1","mdast-util-gfm":"^3.0.0","mdast-util-to-string":"^4.0.0","micromark-extension-gfm":"^3.0.0","micromark-util-types":"^2.0.0"},"devDependencies":{"@sveltejs/adapter-auto":"^3.2.5","@sveltejs/kit":"^2.6.2","@sveltejs/package":"^2.3.5","@sveltejs/vite-plugin-svelte":"4.0.0-next.6","@testing-library/jest-dom":"^6.5.0","@types/eslint":"^9.6.1","@types/node":"^22.7.4","@typescript-eslint/eslint-plugin":"^8.8.0","@typescript-eslint/parser":"^8.8.0","eslint":"^9.12.0","eslint-config-prettier":"^9.1.0","eslint-plugin-svelte":"^2.44.1","globals":"^15.10.0","jsdom":"^25.0.1","prettier":"^3.3.3","prettier-plugin-svelte":"^3.2.7","publint":"^0.2.11","svelte":"5.0.0-next.260","svelte-check":"^4.0.4","tslib":"^2.7.0","typescript":"^5.6.2","typescript-eslint":"^8.8.0","unist-builder":"^4.0.0","vite":"^5.4.8","vitest":"^2.1.2"},"svelte":"./dist/index.js","types":"./dist/index.d.ts","type":"module","scripts":{"dev":"vite dev","build":"vite build && pnpm run package","preview":"vite preview","package":"svelte-kit sync && svelte-package && publint","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","test":"vitest","lint":"prettier --check . && eslint .","format":"prettier --write ."},"_id":"@accuser/svelte-mdast-gfm@0.2.0","description":"Transform [Mdast](https://github.com/syntax-tree/mdast) into Svelte components.","_integrity":"sha512-BJhsljf/eG/Oqyskn5AXFfPnAOCBaFr8B5aTXVGXTDdSHIsQtgJqhS8CCFrgG8z2c6unOdaT7HUhbHvXXL7N3w==","_resolved":"/tmp/8e87ebed12aaf12423dd8cd4773faf7c/accuser-svelte-mdast-gfm-0.2.0.tgz","_from":"file:accuser-svelte-mdast-gfm-0.2.0.tgz","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-BJhsljf/eG/Oqyskn5AXFfPnAOCBaFr8B5aTXVGXTDdSHIsQtgJqhS8CCFrgG8z2c6unOdaT7HUhbHvXXL7N3w==","shasum":"aee40fc777f3ed3f90ba8c4377088a010df230aa","tarball":"https://registry.npmjs.org/@accuser/svelte-mdast-gfm/-/svelte-mdast-gfm-0.2.0.tgz","fileCount":13,"unpackedSize":7631,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDGdUHJrANVYFgLm7ddYbN5zTJ3/v3Yu/sTv1+6mi8ovAiBQRrHjvgRwuub5G3/Szfs/JLzgT37+/Qz6rlhhS4C9HA=="}]},"_npmUser":{"name":"accuser","email":"mhgibbons@me.com"},"directories":{},"maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-mdast-gfm_0.2.0_1728220328121_0.10450083418420197"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-06T09:15:18.658Z","modified":"2024-10-06T13:12:08.589Z","0.1.0":"2024-10-06T09:15:18.926Z","0.2.0":"2024-10-06T13:12:08.392Z"},"bugs":{"url":"https://github.com/accuser/svelte-mdast-gfm/issues"},"author":{"name":"Matthew Gibbons","email":"mhgibbons@me.com","url":"https://github.com/accuser"},"license":"MIT","homepage":"https://github.com/accuser/svelte-mdast-gfm","keywords":["gfm","github flavored markdown","mdast","svelte","svelte-mdast","sveltekit"],"repository":{"type":"git","url":"git+https://github.com/accuser/svelte-mdast-gfm.git"},"description":"Transform [Mdast](https://github.com/syntax-tree/mdast) into Svelte components.","maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"readme":"# Svelte Unist\n\nTransform [Mdast](https://github.com/syntax-tree/mdast) into Svelte components.\n\n## Installing\n\nAdd the `@accuser/svelte-hast` package dependency to your [Svelte](https://svelte.dev) / [SvelteKit](https://kit.svelte.dev) project:\n\n```sh\nnpm install --save-dev @accuser/svelte-mdast\n```\n\n## Usage\n\n```svelte\n<script lang=\"ts\">\n\timport { Mdast } from '@accuser/Mdast.svelte';\n\timport { u } from 'unist-builder';\n\n\tconst ast: import('mdast').Root = u('root', [\n\t\tu('heading', { depth: 1 as const }, [u('text', 'Hello, World!')]),\n\t]);\n</script>\n\n<Mdast {ast} />\n```\n\n## Test\n\n```sh\nnpm test\n```\n\n## License\n\n[MIT](LICENSE)\n\n## Copyright\n\nCopyrigth &copy; 2024 [Matthew Gibbons](https://github.com/accuser)","readmeFilename":"README.md"}