{"_id":"@accuser/svelte-mdast-math","_rev":"1-b177703d5e65a12484b201d0e187afae","name":"@accuser/svelte-mdast-math","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@accuser/svelte-mdast-math","version":"0.1.0","keywords":["katex","math","mdast","svelte","svelte-mdast","sveltekit"],"author":{"url":"https://github.com/accuser","name":"Matthew Gibbons","email":"mhgibbons@me.com"},"license":"MIT","_id":"@accuser/svelte-mdast-math@0.1.0","maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"homepage":"https://github.com/accuser/svelte-mdast-math","bugs":{"url":"https://github.com/accuser/svelte-mdast-math/issues"},"dist":{"shasum":"f43c9f58f23e89cbcc1ba888121225f5053005f7","tarball":"https://registry.npmjs.org/@accuser/svelte-mdast-math/-/svelte-mdast-math-0.1.0.tgz","fileCount":14,"integrity":"sha512-baVogf/0ICFEEwKYe3srxY5slz1r3lB50sjdY5Hm09gU5cJPpgMKoUbidtDq5VYuw/k19mjlhvMZbd+nkXc/3A==","signatures":[{"sig":"MEUCIFKk8Gh47TuqJnN2x6laiX+4ZG4NJKlAjoYbHmwUHdmBAiEAuLBnYO638gf8DwZzssPf1b7L1E2vodJXMUqQUgonMPU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6704},"type":"module","_from":"file:accuser-svelte-mdast-math-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/2ff6affd01adbee196fb2b1b2e04b5bf/accuser-svelte-mdast-math-0.1.0.tgz","_integrity":"sha512-baVogf/0ICFEEwKYe3srxY5slz1r3lB50sjdY5Hm09gU5cJPpgMKoUbidtDq5VYuw/k19mjlhvMZbd+nkXc/3A==","repository":{"url":"git+https://github.com/accuser/svelte-mdast-math.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":{"katex":"^0.16.11","@types/katex":"^0.16.7","@types/mdast":"^4.0.4","mdast-util-math":"^3.0.0","mdast-util-to-string":"^4.0.0","@accuser/svelte-mdast":"^0.4.1","@accuser/svelte-unist":"^0.5.0","mdast-util-from-markdown":"^2.0.1","micromark-extension-math":"^3.1.0","@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-math_0.1.0_1728207756248_0.6905187902984755","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@accuser/svelte-mdast-math","version":"0.2.0","private":false,"license":"MIT","author":{"name":"Matthew Gibbons","email":"mhgibbons@me.com","url":"https://github.com/accuser"},"keywords":["katex","math","mdast","svelte","svelte-mdast","sveltekit"],"homepage":"https://github.com/accuser/svelte-mdast-math","bugs":{"url":"https://github.com/accuser/svelte-mdast-math/issues"},"repository":{"type":"git","url":"git+https://github.com/accuser/svelte-mdast-math.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/katex":"^0.16.7","@types/mdast":"^4.0.4","katex":"^0.16.11","mdast-util-from-markdown":"^2.0.1","mdast-util-math":"^3.0.0","mdast-util-to-string":"^4.0.0","micromark-extension-math":"^3.1.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-math@0.2.0","description":"Transform [Mdast](https://github.com/syntax-tree/mdast) into Svelte components.","_integrity":"sha512-X8psu5UwaPc+GLl1QuvauBnUxhAzp48/NqBWbVVb/c914PZkIMrnDP4eUckxc1L7R3w4t3NGwP1lkDEaU0VYog==","_resolved":"/tmp/87ca788c8a7236c48716a9d43ae5b205/accuser-svelte-mdast-math-0.2.0.tgz","_from":"file:accuser-svelte-mdast-math-0.2.0.tgz","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-X8psu5UwaPc+GLl1QuvauBnUxhAzp48/NqBWbVVb/c914PZkIMrnDP4eUckxc1L7R3w4t3NGwP1lkDEaU0VYog==","shasum":"15a4fc54238200a4e3382d78f123c9abe99e9d08","tarball":"https://registry.npmjs.org/@accuser/svelte-mdast-math/-/svelte-mdast-math-0.2.0.tgz","fileCount":11,"unpackedSize":6167,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAo7gnPm2cbfZrKHMPXpAP/iN0ZAYHKt/g+4ToUTUIRVAiEAku58g4HEQdlZopUmP8gRpJcCD39jBnDodWxA7zU4M3o="}]},"_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-math_0.2.0_1728219991356_0.08201516649769314"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-06T09:42:36.154Z","modified":"2024-10-06T13:06:31.792Z","0.1.0":"2024-10-06T09:42:36.460Z","0.2.0":"2024-10-06T13:06:31.603Z"},"bugs":{"url":"https://github.com/accuser/svelte-mdast-math/issues"},"author":{"name":"Matthew Gibbons","email":"mhgibbons@me.com","url":"https://github.com/accuser"},"license":"MIT","homepage":"https://github.com/accuser/svelte-mdast-math","keywords":["katex","math","mdast","svelte","svelte-mdast","sveltekit"],"repository":{"type":"git","url":"git+https://github.com/accuser/svelte-mdast-math.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"}