{"_id":"@ap0nia/svelte-og","_rev":"1-1678570caf63cf840eb6377f69064a76","name":"@ap0nia/svelte-og","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@ap0nia/svelte-og","version":"0.0.1","description":"SvelteKit-compatible implementation of vercel-og","license":"MIT","repository":{"type":"git","url":"git+https://github.com/ap0nia/svelte-og.git","directory":"packages/svelte-og"},"type":"module","main":"./src/index.ts","types":"./src/index.ts","dependencies":{"@resvg/resvg-js":"^2.6.2","satori":"^0.10.13","satori-html":"^0.3.2","svelte":"^4.2.13","svelte2tsx":"^0.7.6"},"devDependencies":{"typescript":"^5.1.6"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/ap0nia/svelte-og/issues"},"homepage":"https://github.com/ap0nia/svelte-og#readme","_id":"@ap0nia/svelte-og@0.0.1","_integrity":"sha512-WU+7YI8wmPzQUeZ13W8fibwtc9p6mG7qWhjYxDIiHaXaSxvOlC2DS7YdK9jGI0mSyu04J3GNi7au1jm6l9oaAA==","_resolved":"/tmp/b39e2a4ad69bee18ba9992a5b171ae08/ap0nia-svelte-og-0.0.1.tgz","_from":"file:ap0nia-svelte-og-0.0.1.tgz","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-WU+7YI8wmPzQUeZ13W8fibwtc9p6mG7qWhjYxDIiHaXaSxvOlC2DS7YdK9jGI0mSyu04J3GNi7au1jm6l9oaAA==","shasum":"405a1497cfc8459b95811f7629b8993fba7f0561","tarball":"https://registry.npmjs.org/@ap0nia/svelte-og/-/svelte-og-0.0.1.tgz","fileCount":15,"unpackedSize":14189,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICogPhDdXW2LxgfybQYhi8eryZ+ZZMaQB5ZDsex8IKAsAiEAtdEhQrWwAf/NfYbyfKTxJGOTjfZD8HDePXuPJB+e4WE="}]},"_npmUser":{"name":"ap0nia","email":"brianmv@uci.edu"},"directories":{},"maintainers":[{"name":"ap0nia","email":"brianmv@uci.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-og_0.0.1_1714465966068_0.6583880305143375"},"_hasShrinkwrap":false},"0.0.2":{"name":"@ap0nia/svelte-og","version":"0.0.2","description":"SvelteKit-compatible implementation of vercel-og","license":"MIT","repository":{"type":"git","url":"git+https://github.com/ap0nia/svelte-og.git","directory":"packages/svelte-og"},"type":"module","main":"./src/index.ts","types":"./src/index.ts","dependencies":{"@resvg/resvg-js":"^2.6.2","satori":"^0.10.13","satori-html":"^0.3.2","svelte":"^4.2.13","svelte2tsx":"^0.7.6"},"devDependencies":{"typescript":"^5.1.6"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/ap0nia/svelte-og/issues"},"homepage":"https://github.com/ap0nia/svelte-og#readme","_id":"@ap0nia/svelte-og@0.0.2","_integrity":"sha512-VW4//HOD6XXcQOxnWV+Z6Rs8e97qeNa4nWoq7W6okif/yOnBkgCHcsJej+gFEyyIhyuG955AYNpZhTeV7R9KYg==","_resolved":"/tmp/09dfec0412e18e6788de8a1fb08106bc/ap0nia-svelte-og-0.0.2.tgz","_from":"file:ap0nia-svelte-og-0.0.2.tgz","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-VW4//HOD6XXcQOxnWV+Z6Rs8e97qeNa4nWoq7W6okif/yOnBkgCHcsJej+gFEyyIhyuG955AYNpZhTeV7R9KYg==","shasum":"53b45a10f3ef00115fbaa1227fea8e73dc547f67","tarball":"https://registry.npmjs.org/@ap0nia/svelte-og/-/svelte-og-0.0.2.tgz","fileCount":15,"unpackedSize":14251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFp40UG7r6a7SKrTpc5vCE/pWG8zlF2bTmxhGZcIj07uAiBbTo0dPTry77FDCMluHeh4O1OajvLLD9mqCBibmeWzwQ=="}]},"_npmUser":{"name":"ap0nia","email":"brianmv@uci.edu"},"directories":{},"maintainers":[{"name":"ap0nia","email":"brianmv@uci.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-og_0.0.2_1714466472006_0.7420726884291062"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-30T08:32:45.969Z","0.0.1":"2024-04-30T08:32:46.230Z","modified":"2024-04-30T08:41:12.280Z","0.0.2":"2024-04-30T08:41:12.131Z"},"maintainers":[{"name":"ap0nia","email":"brianmv@uci.edu"}],"description":"SvelteKit-compatible implementation of vercel-og","homepage":"https://github.com/ap0nia/svelte-og#readme","repository":{"type":"git","url":"git+https://github.com/ap0nia/svelte-og.git","directory":"packages/svelte-og"},"bugs":{"url":"https://github.com/ap0nia/svelte-og/issues"},"license":"MIT","readme":"# @ap0nia/vercel-og\n\n> Modified version of @vercel/og that's compatible with SvelteKit\n\n## Getting Started\n\n1. Install the library.\n```bash\nnpm install @ap0nia/svelte-og\n```\n\n2. Return a dynamically generated OpenGraph image response from a server endpoint.\n```ts\n// src/routes/og/+server.ts\n\nimport { SvelteImageResponse } from '@ap0nia/svelte-og'\nimport type { RequestHandler } from './$types'\nimport Og from '$lib/components/og.svelte'\n\nexport const GET: RequestHandler = async () => {\n  return new SvelteImageResponse(Og)\n}\n```\n","readmeFilename":"README.md"}