{"_id":"@accuser/svelte-hast","_rev":"3-258c79a1eb950cb3cf2750bc494facbe","name":"@accuser/svelte-hast","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@accuser/svelte-hast","version":"0.1.0","keywords":["hast","svelte","sveltekit"],"author":{"url":"https://github.com/accuser","name":"Matthew Gibbons","email":"mhgibbons@me.com"},"license":"MIT","_id":"@accuser/svelte-hast@0.1.0","maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"homepage":"https://github.com/accuser/svelte-hast","bugs":{"url":"https://github.com/accuser/svelte-hast/issues"},"dist":{"shasum":"d3280b2b8edf87ffada637a8334eaa4788aea217","tarball":"https://registry.npmjs.org/@accuser/svelte-hast/-/svelte-hast-0.1.0.tgz","fileCount":19,"integrity":"sha512-qe1KIubxz04Gton9hbSnxGiuqoBx4S2HaLmGaqCMw2W00An+hcafqIhLCy4hhmjH9cGXup+FZwOydDJVdbOonw==","signatures":[{"sig":"MEUCIQCgULLUJzUFJhOzvaRbhr0GUcoXfZzl52tSt4EAmCKniQIgHUnkk3uv2w8IEvIA5IEZadknpeuXYMZodOizCXqEVhI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7061},"type":"module","_from":"file:accuser-svelte-hast-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/8758ba046c06596e86a8c742b71bb50f/accuser-svelte-hast-0.1.0.tgz","_integrity":"sha512-qe1KIubxz04Gton9hbSnxGiuqoBx4S2HaLmGaqCMw2W00An+hcafqIhLCy4hhmjH9cGXup+FZwOydDJVdbOonw==","repository":{"url":"git+https://github.com/accuser/svelte-hast.git","type":"git"},"_npmVersion":"10.8.2","description":"Transform [Hast](https://github.com/syntax-tree/hast) into Svelte components.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@types/hast":"^3.0.4","@accuser/svelte-unist":"^0.1.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.1","@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-hast_0.1.0_1728112950081_0.39553748279458034","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@accuser/svelte-hast","version":"0.2.0","keywords":["hast","svelte","sveltekit"],"author":{"url":"https://github.com/accuser","name":"Matthew Gibbons","email":"mhgibbons@me.com"},"license":"MIT","_id":"@accuser/svelte-hast@0.2.0","maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"homepage":"https://github.com/accuser/svelte-hast","bugs":{"url":"https://github.com/accuser/svelte-hast/issues"},"dist":{"shasum":"487d4311c720772d7ec978f5cdc3674126de516c","tarball":"https://registry.npmjs.org/@accuser/svelte-hast/-/svelte-hast-0.2.0.tgz","fileCount":19,"integrity":"sha512-L+ymxukUYNMQjfOsvkHYaAP5DaGjXXJLJMESidwKPsAQvo+Wd8mzo47IC2TuOgOX/Cv3iZ8IorFDaMdTpYluTQ==","signatures":[{"sig":"MEUCIQCa+060QzLb2EzbSpcWY1QAsySMEu2AmUeu/lT7SJbnigIgX40b5NUmxE0uJ4RXjavXxg+rcSCUX4iyWTx61KTLeQs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7392},"type":"module","_from":"file:accuser-svelte-hast-0.2.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/52f84bde364bdc93ee63d1b59ce87e71/accuser-svelte-hast-0.2.0.tgz","_integrity":"sha512-L+ymxukUYNMQjfOsvkHYaAP5DaGjXXJLJMESidwKPsAQvo+Wd8mzo47IC2TuOgOX/Cv3iZ8IorFDaMdTpYluTQ==","repository":{"url":"git+https://github.com/accuser/svelte-hast.git","type":"git"},"_npmVersion":"10.8.2","description":"Transform [Hast](https://github.com/syntax-tree/hast) into Svelte components.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@types/hast":"^3.0.4","@accuser/svelte-unist":"^0.3.1"},"_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.1","@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-hast_0.2.0_1728159175286_0.13822774384256187","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@accuser/svelte-hast","version":"0.2.1","keywords":["hast","svelte","sveltekit"],"author":{"url":"https://github.com/accuser","name":"Matthew Gibbons","email":"mhgibbons@me.com"},"license":"MIT","_id":"@accuser/svelte-hast@0.2.1","maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"homepage":"https://github.com/accuser/svelte-hast","bugs":{"url":"https://github.com/accuser/svelte-hast/issues"},"dist":{"shasum":"6a8110330493c9bd64ba799707f228219d6c1ea4","tarball":"https://registry.npmjs.org/@accuser/svelte-hast/-/svelte-hast-0.2.1.tgz","fileCount":19,"integrity":"sha512-xkxZ52On84ocROipR1aW4Ee2T0Lnpw8H8UnEXigSHaZEn1+V35IjiY/N3ZSM+HYEdN7wnRxf5ZZwRfabPYeqnA==","signatures":[{"sig":"MEYCIQDV0iR20lYoxtRr9P5Is9/AM0PyQ5WN7wZJFR4Pbo7JOgIhAMMycZchhpsqmugcAbzqJnxPTqjuT7tGO1jYlRUxt41a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7482},"type":"module","_from":"file:accuser-svelte-hast-0.2.1.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/573f66b9fe664989b3216165d3e52180/accuser-svelte-hast-0.2.1.tgz","_integrity":"sha512-xkxZ52On84ocROipR1aW4Ee2T0Lnpw8H8UnEXigSHaZEn1+V35IjiY/N3ZSM+HYEdN7wnRxf5ZZwRfabPYeqnA==","repository":{"url":"git+https://github.com/accuser/svelte-hast.git","type":"git"},"_npmVersion":"10.8.2","description":"Transform [Hast](https://github.com/syntax-tree/hast) into Svelte components.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@types/hast":"^3.0.4","@accuser/svelte-unist":"^0.3.1"},"_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.1","@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-hast_0.2.1_1728159352163_0.855024952904875","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@accuser/svelte-hast","version":"0.3.0","private":false,"license":"MIT","author":{"name":"Matthew Gibbons","email":"mhgibbons@me.com","url":"https://github.com/accuser"},"keywords":["hast","svelte","sveltekit"],"homepage":"https://github.com/accuser/svelte-hast","bugs":{"url":"https://github.com/accuser/svelte-hast/issues"},"repository":{"type":"git","url":"git+https://github.com/accuser/svelte-hast.git"},"exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"peerDependencies":{"svelte":"^5.0.0-next.1"},"dependencies":{"@accuser/svelte-unist":"^0.5.0","@types/hast":"^3.0.4"},"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-hast@0.3.0","description":"Transform [Hast](https://github.com/syntax-tree/hast) into Svelte components.","_integrity":"sha512-ijhGRsjjaeU4raeCk0+77OlbWw7mG6og1j3y/3WNXoEPGkV1vJeq4QgwABu2TdhgIa3c6g2yzFO8FKMGnQNqLA==","_resolved":"/tmp/8062378b25293f551bb7148532615d9c/accuser-svelte-hast-0.3.0.tgz","_from":"file:accuser-svelte-hast-0.3.0.tgz","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ijhGRsjjaeU4raeCk0+77OlbWw7mG6og1j3y/3WNXoEPGkV1vJeq4QgwABu2TdhgIa3c6g2yzFO8FKMGnQNqLA==","shasum":"235524b332d2a343ffddef4c6487fbb007ad8e24","tarball":"https://registry.npmjs.org/@accuser/svelte-hast/-/svelte-hast-0.3.0.tgz","fileCount":19,"unpackedSize":7467,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdoB0azHJRVIvvwwZsrT7BVgqK0EuIhFkiM6IZX6Pe0gIgTg4b9NyUN5GbnR5gEud+lLNPyD2eF8hMLqLDYibHfrk="}]},"_npmUser":{"name":"accuser","email":"mhgibbons@me.com"},"directories":{},"maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-hast_0.3.0_1728196654423_0.4033395161194573"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-05T07:22:29.996Z","modified":"2024-10-06T06:37:34.793Z","0.1.0":"2024-10-05T07:22:30.238Z","0.2.0":"2024-10-05T20:12:55.479Z","0.2.1":"2024-10-05T20:15:52.392Z","0.3.0":"2024-10-06T06:37:34.602Z"},"bugs":{"url":"https://github.com/accuser/svelte-hast/issues"},"author":{"name":"Matthew Gibbons","email":"mhgibbons@me.com","url":"https://github.com/accuser"},"license":"MIT","homepage":"https://github.com/accuser/svelte-hast","keywords":["hast","svelte","sveltekit"],"repository":{"type":"git","url":"git+https://github.com/accuser/svelte-hast.git"},"description":"Transform [Hast](https://github.com/syntax-tree/hast) into Svelte components.","maintainers":[{"name":"accuser","email":"mhgibbons@me.com"}],"readme":"# Svelte Hast\n\nTransform [Hast](https://github.com/syntax-tree/hast) 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-hast\n```\n\n## Usage\n\n```svelte\n<script lang=\"ts\">\n\timport Hast from '@accuser/svelte-hast';\n\timport { u } from 'unist-builder';\n\n\tconst ast: import('hast').Root = u('root', [\n\t\tu('element', { tagName: 'h1', properties: {} }, [u('text', 'Hello, World!')])\n\t]);\n</script>\n\n<Hast {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"}