{"_id":"embed-lite","_rev":"7-d4720ff1c7e63663669e21ca1cafc409","name":"embed-lite","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"embed-lite","version":"0.1.0","keywords":["embed","url","iframe","static","oembed","parser","youtube","twitter","vimeo"],"author":{"name":"Ghazi"},"license":"MIT","_id":"embed-lite@0.1.0","maintainers":[{"name":"mgks","email":"hello@mgks.dev"}],"dist":{"shasum":"8f8333fabaae2d4f867ff01dd9e671dddb3372be","tarball":"https://registry.npmjs.org/embed-lite/-/embed-lite-0.1.0.tgz","fileCount":41,"integrity":"sha512-ptgsEZQOJ7UKnm589wAgDwUvOlaA1WGBZSwisLNqx2b5Jzt4Quw5GrrPncxzaQ5gc3cWdWVdfithKoQ1g/2rxA==","signatures":[{"sig":"MEUCIQCPWwShcdn2/sq+YNc69HCgulDo9Q2M4klvFuWSFimpCAIgLzvnr56+bkQBeLxboSf92NxPV5TLZ0+P0rJCRsqLWlA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42222},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"d5dc340bd6f1a90ecead8414c875fb2f27cd1c24","scripts":{"build":"tsc && npm run build:cdn && npm run build:cdn:min","build:cdn":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.js","build:cdn:min":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.min.js --minify"},"_npmUser":{"name":"mgks","email":"hello@mgks.dev"},"_npmVersion":"11.10.0","description":"Zero-dependency, static URL-to-HTML embed parser for markdown and browser.","directories":{},"_nodeVersion":"25.2.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27.4","typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/embed-lite_0.1.0_1774808132021_0.22151496453905972","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"embed-lite","version":"0.1.1","keywords":["embed","url","iframe","static","oembed","parser","docmd","youtube","twitter","vimeo","facebook","instagram","tiktok","spotify","soundcloud","maps","reddit","github","linkedin","x"],"author":{"url":"https://mgks.dev","name":"Ghazi"},"license":"MIT","_id":"embed-lite@0.1.1","maintainers":[{"name":"mgks","email":"hello@mgks.dev"}],"homepage":"https://embed.mgks.dev","bugs":{"url":"https://github.com/mgks/embed-lite/issues"},"dist":{"shasum":"eb0f58dc613ea453c00a758ddc8ff1ae5ba5e612","tarball":"https://registry.npmjs.org/embed-lite/-/embed-lite-0.1.1.tgz","fileCount":33,"integrity":"sha512-nO8oAF4p/4dISAkim29NzGg2fok51mxN+/ruoo9LYdFC+iAxDK3zzdjPZACVb+atNlADrGXuWKbJKNMXL54BUA==","signatures":[{"sig":"MEQCIF1GGcNXO5f8MBwOP0V4G27ifCWc4ElgEASP+rEwf2lwAiBtyyQqXhYJBRo+O2tdG4NakMI8N0HIiudyc8V+NQy8rg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/embed-lite@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33503},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","funding":"https://github.com/sponsors/mgks","gitHead":"55e6b5be418662aed1f4601b3894338c445c57b9","scripts":{"prep":"rm -rf dist node_modules package-lock.json && npm install && npm run build","build":"tsc && npm run build:cdn && npm run build:cdn:min","build:cdn":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.js","build:cdn:min":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.min.js --minify"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:480a40cf-6bf6-4ab4-81ca-a80048f93ef3"}},"repository":{"url":"git+https://github.com/mgks/embed-lite.git","type":"git"},"_npmVersion":"11.12.1","description":"Zero-dependency, static URL-to-HTML embed parser for markdown and browser.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27.4","typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/embed-lite_0.1.1_1774812616865_0.4929696070370686","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"embed-lite","version":"0.1.2","keywords":["embed","url","iframe","static","oembed","parser","docmd","youtube","twitter","vimeo","facebook","instagram","tiktok","spotify","soundcloud","maps","reddit","github","linkedin","x"],"author":{"url":"https://mgks.dev","name":"Ghazi"},"license":"MIT","_id":"embed-lite@0.1.2","maintainers":[{"name":"mgks","email":"hello@mgks.dev"}],"homepage":"https://embed.mgks.dev","bugs":{"url":"https://github.com/mgks/embed-lite/issues"},"dist":{"shasum":"43f77b7bee21263ee78248af598f3dc2ae2873e1","tarball":"https://registry.npmjs.org/embed-lite/-/embed-lite-0.1.2.tgz","fileCount":42,"integrity":"sha512-wINZS3b4zB2jDmb+7slNtawiqtdagf1VRelMHU+swE1uJcZ3UDU2HmOTtLY7uEufuMGVZVhRPhq3b/5/hg+kGA==","signatures":[{"sig":"MEUCIQDalz5D1g7CBvJ9ZV516n+ZZZ9Q6bUSOk38qCyKvnzn+AIgVs7xqn2Ry35CL2tQJO6YfS/RZdE3emyXoA/tMc0glxs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/embed-lite@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":91253},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","funding":"https://github.com/sponsors/mgks","gitHead":"7d2b48c6cfdbfff3d74a43d9ee91f53409b11985","scripts":{"prep":"rm -rf dist node_modules package-lock.json && npm install && npm run build","build":"tsc && npm run build:cdn && npm run build:cdn:min && cp -r public/* dist/","build:cdn":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.js","build:cdn:min":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.min.js --minify"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:480a40cf-6bf6-4ab4-81ca-a80048f93ef3"}},"repository":{"url":"git+https://github.com/mgks/embed-lite.git","type":"git"},"_npmVersion":"11.12.1","description":"Zero-dependency, static URL-to-HTML embed parser for markdown and browser.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27.4","typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/embed-lite_0.1.2_1774816010280_0.9310133458951384","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"embed-lite","version":"0.1.3","keywords":["embed","url","iframe","static","oembed","parser","docmd","youtube","twitter","vimeo","facebook","instagram","tiktok","spotify","soundcloud","maps","reddit","github","linkedin","x"],"author":{"url":"https://mgks.dev","name":"Ghazi"},"license":"MIT","_id":"embed-lite@0.1.3","maintainers":[{"name":"mgks","email":"hello@mgks.dev"}],"homepage":"https://embed.mgks.dev","bugs":{"url":"https://github.com/mgks/embed-lite/issues"},"dist":{"shasum":"b6477fe2c4b45fc73faeead06b1453d8fd437be3","tarball":"https://registry.npmjs.org/embed-lite/-/embed-lite-0.1.3.tgz","fileCount":48,"integrity":"sha512-9s8pnxNWHcZsDNBRDpmDL+esasUJNrkuQzh72d01H/fnJwLipwSsCkqYO17bZHWmwCDCm/en/cBJ6BUzsA8LjA==","signatures":[{"sig":"MEQCIEd6tDwZhXOeJa1JjmDNAF23w7niydgcJSt5hmVTIZAEAiBSBFYwTOXwFWkoBTxelr8474+5yvybJO2Rp7V44A8sTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/embed-lite@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":99365},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","funding":"https://github.com/sponsors/mgks","gitHead":"2ce31696fb16136541e785b23a759e298f430420","scripts":{"prep":"rm -rf dist node_modules package-lock.json && npm install && npm run build","build":"tsc && npm run build:cdn && npm run build:cdn:min && cp -r public/* dist/","build:cdn":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.js","build:cdn:min":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.min.js --minify"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:480a40cf-6bf6-4ab4-81ca-a80048f93ef3"}},"repository":{"url":"git+https://github.com/mgks/embed-lite.git","type":"git"},"_npmVersion":"11.12.1","description":"Zero-dependency, static URL-to-HTML embed parser for markdown and browser.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27.4","typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/embed-lite_0.1.3_1774818172071_0.5699397783937858","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"embed-lite","version":"0.1.4","keywords":["embed","url","iframe","static","oembed","parser","docmd","youtube","twitter","vimeo","facebook","instagram","tiktok","spotify","soundcloud","maps","reddit","github","linkedin","x"],"author":{"url":"https://mgks.dev","name":"Ghazi"},"license":"MIT","_id":"embed-lite@0.1.4","maintainers":[{"name":"mgks","email":"hello@mgks.dev"}],"homepage":"https://embed.mgks.dev","bugs":{"url":"https://github.com/mgks/embed-lite/issues"},"dist":{"shasum":"4e94774a1ccad7369ca622a50f3ed76af5dc789a","tarball":"https://registry.npmjs.org/embed-lite/-/embed-lite-0.1.4.tgz","fileCount":48,"integrity":"sha512-jHeFclp6iQGHeb0DUBh0a7eGQb1bfhDBzDfSx/nr8c5kdx0PW7EfWXzY5Ry8/AGbbVfxhewOSqwFJZLp18wdhw==","signatures":[{"sig":"MEYCIQDO0iob529reBEnaU5DffIfxnuXTK+IFv09x8dZ2x7u+gIhAJbCBzF7D48ZQmWGDA4xz0SBA6SAVHdlxUDcr5/r3qCb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/embed-lite@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":99984},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","funding":"https://github.com/sponsors/mgks","gitHead":"e964d878e5472b267741aa4db579b1280f1e9dcd","scripts":{"prep":"rm -rf dist node_modules package-lock.json && npm install && npm run build","build":"tsc && npm run build:cdn && npm run build:cdn:min && cp -r public/* dist/","build:cdn":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.js","build:cdn:min":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.min.js --minify"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:480a40cf-6bf6-4ab4-81ca-a80048f93ef3"}},"repository":{"url":"git+https://github.com/mgks/embed-lite.git","type":"git"},"_npmVersion":"11.12.1","description":"Zero-dependency, static URL-to-HTML embed parser for markdown and browser.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27.4","typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/embed-lite_0.1.4_1774821203822_0.7479874114154765","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"embed-lite","version":"0.1.5","keywords":["embed","url","iframe","static","oembed","parser","docmd","youtube","twitter","vimeo","facebook","instagram","tiktok","spotify","soundcloud","maps","reddit","github","linkedin","x"],"author":{"url":"https://mgks.dev","name":"Ghazi"},"license":"MIT","_id":"embed-lite@0.1.5","maintainers":[{"name":"mgks","email":"hello@mgks.dev"}],"homepage":"https://embed.mgks.dev","bugs":{"url":"https://github.com/mgks/embed-lite/issues"},"dist":{"shasum":"239d6e2cd16d6f5b26e31d907333aa02f16b8128","tarball":"https://registry.npmjs.org/embed-lite/-/embed-lite-0.1.5.tgz","fileCount":50,"integrity":"sha512-n6tjXG3r0q3JiBJsDCTNoVgzXT6ahcl0+mDr4usZpLBdheVJIVR0lsgYXEjhqlfVB4UlYzkV3gfdy7pZp4crGQ==","signatures":[{"sig":"MEUCIDpD8VVRBSxEWaP/+767PSt0AWbBL7vSBYX/IlzLshc+AiEAreuhksdRhuAN4/XhTyC7tqMnS4z3vTGQADKTlVFLGFE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/embed-lite@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":103313},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","funding":"https://github.com/sponsors/mgks","gitHead":"9299c23012803ee067a61661cb3985226b7c0c9c","scripts":{"prep":"rm -rf dist node_modules package-lock.json && npm install && npm run build","test":"npm run build >/dev/null && node --test","build":"tsc && npm run build:cdn && npm run build:cdn:min && cp -r public/* dist/","build:cdn":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.js","build:cdn:min":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.min.js --minify"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:480a40cf-6bf6-4ab4-81ca-a80048f93ef3"}},"repository":{"url":"git+https://github.com/mgks/embed-lite.git","type":"git"},"_npmVersion":"12.0.2","description":"Zero-dependency, static URL-to-HTML embed parser for markdown and browser.","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27.4","typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/embed-lite_0.1.5_1785652459111_0.9019834457748082","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"embed-lite","version":"0.1.6","description":"Zero-dependency, static URL-to-HTML embed parser for markdown and browser.","type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prep":"rm -rf dist node_modules package-lock.json && npm install && npm run build","build":"tsc && npm run build:cdn && npm run build:cdn:min && cp -r public/* dist/","build:cdn":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.js","build:cdn:min":"esbuild src/index.ts --bundle --global-name=embedLite --outfile=dist/embed-lite.global.min.js --minify","test":"npm run build >/dev/null && node --test"},"devDependencies":{"esbuild":"^0.28.1","typescript":"^7.0.2"},"allowScripts":{"esbuild":true},"keywords":["embed","url","iframe","static","oembed","parser","docmd","youtube","twitter","vimeo","facebook","instagram","tiktok","spotify","soundcloud","maps","reddit","github","linkedin","x"],"author":{"name":"Ghazi","url":"https://mgks.dev"},"repository":{"type":"git","url":"git+https://github.com/mgks/embed-lite.git"},"bugs":{"url":"https://github.com/mgks/embed-lite/issues"},"homepage":"https://embed.mgks.dev","funding":"https://github.com/sponsors/mgks","license":"MIT","gitHead":"e0f36fbe9836579dc88191f119333a4a8b2443e9","_id":"embed-lite@0.1.6","_nodeVersion":"22.23.1","_npmVersion":"12.0.2","dist":{"integrity":"sha512-iL9W49mLcEAla5U2l5MtwCyp+F4r938Z+HFo+/qruEXfGhpwm+qg0WqbfpsxPlm2rQAuXih7skAtyM3dVLCuXA==","shasum":"8217b9f9718e4c28667ebcbc33ee422a56ea8787","tarball":"https://registry.npmjs.org/embed-lite/-/embed-lite-0.1.6.tgz","fileCount":66,"unpackedSize":119942,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/embed-lite@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIB0AsVTJ43CMkGHxRaLnPbxLrp1REEdyA7P30lZBiajaAiEAyODe0kf5AC+TqtyWD+9AF+yrjQnKPzinf6IIjiP96gc="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:480a40cf-6bf6-4ab4-81ca-a80048f93ef3"}},"directories":{},"maintainers":[{"name":"mgks","email":"hello@mgks.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/embed-lite_0.1.6_1785660638792_0.48830998690305627"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-29T18:15:31.956Z","modified":"2026-08-02T08:50:39.233Z","0.1.0":"2026-03-29T18:15:32.163Z","0.1.1":"2026-03-29T19:30:17.012Z","0.1.2":"2026-03-29T20:26:50.424Z","0.1.3":"2026-03-29T21:02:52.226Z","0.1.4":"2026-03-29T21:53:23.978Z","0.1.5":"2026-08-02T06:34:19.244Z","0.1.6":"2026-08-02T08:50:38.926Z"},"bugs":{"url":"https://github.com/mgks/embed-lite/issues"},"author":{"name":"Ghazi","url":"https://mgks.dev"},"license":"MIT","homepage":"https://embed.mgks.dev","keywords":["embed","url","iframe","static","oembed","parser","docmd","youtube","twitter","vimeo","facebook","instagram","tiktok","spotify","soundcloud","maps","reddit","github","linkedin","x"],"repository":{"type":"git","url":"git+https://github.com/mgks/embed-lite.git"},"description":"Zero-dependency, static URL-to-HTML embed parser for markdown and browser.","maintainers":[{"name":"mgks","email":"hello@mgks.dev"}],"readme":"<div align=\"center\">\n<p>\n  <img width=\"80\" alt=\"Embed Lite Logo\" src=\"https://github.com/mgks/embed-lite/blob/main/public/src/favicons/apple-touch-icon.png?raw=true\" />\n  <h1 align=\"center\">Embed Lite</h1>\n</p>\n\n<p>\n  <a href=\"https://www.npmjs.com/package/embed-lite\"><img src=\"https://img.shields.io/npm/v/embed-lite.svg?style=flat-square&color=CB3837\" alt=\"npm version\"></a>\n  <a href=\"https://www.npmjs.com/package/embed-lite?activeTab=versions\"><img src=\"https://img.shields.io/npm/dt/embed-lite.svg?style=flat-square&color=38bd24\" alt=\"downloads\"></a>\n  <a href=\"https://github.com/mgks/embed-lite/stargazers\"><img src=\"https://img.shields.io/github/stars/mgks/embed-lite?style=flat-square&logo=github\" alt=\"stars\"></a>\n  <a href=\"https://github.com/mgks/embed-lite/blob/main/LICENSE\"><img src=\"https://img.shields.io/github/license/mgks/embed-lite.svg?style=flat-square&color=A31F34\" alt=\"license\"></a>\n</p>\n\n<p>\n  <h4>\n    <a href=\"https://embed.mgks.dev\">🚀 Open Web App</a>\n  </h4>\n</p>\n</div>\n\n<br />\n\n**Embed Lite** is an ultra-fast, zero-dependency Typescript and JavaScript library for statically mapping raw URLs directly into secure, ready-to-render HTML iframes or blockquotes entirely on the fly.\n\nBy totally dodging bulky asynchronous `oEmbed` network API calls, `embed-lite` achieves zero-latency renders across both the Browser and standard Node.js rendering pipelines simply by parsing regex matches.\n\n## Getting Started\n\n### 1. Usage via CDN (Browsers)\nFor simple web applications or zero-build environments, you can pull the massively optimized, minified bundle straight from `unpkg`. \n\n**Setup Instructions:**\n```html\n<!-- Inject the module payload -->\n<script src=\"https://unpkg.com/embed-lite@latest/dist/embed-lite.global.min.js\"></script>\n```\n\n**Implementation:**\nOnce loaded, the library natively exposes the `embedLite` object directly on your global `window`:\n```html\n<div id=\"video-container\"></div>\n\n<script>\n  // Parse natively on the client\n  const parsed = window.embedLite.embed(\"https://youtube.com/watch?v=123\");\n  \n  // Inject the raw iframe string directly!\n  if (parsed) {\n     document.getElementById('video-container').innerHTML = parsed.html;\n  }\n</script>\n```\n\n### 2. Usage via NPM (Node.js / React / Vue)\nIf you are developing a modern framework or server-side parser (React, Express, Nuxt, etc), install the Typescript-compatible module dynamically.\n\n**Setup Instructions:**\n```bash\nnpm install embed-lite\n```\n\n**Implementation:**\n```ts\nimport { embed } from 'embed-lite';\n\nconst targetUrl = \"https://x.com/x/status/123\";\n\n// Map the URL into HTML, alongside custom CSS targeting classes\nconst result = embed(targetUrl, { className: 'my-social-embed' });\n\nif (result) {\n    console.log(result.html);\n    // Returns explicitly isolated payload:\n    // <blockquote class=\"twitter-tweet my-social-embed\">...</blockquote>\n}\n```\n\n## Supported Platforms\n\nWe currently actively process and intelligently map the following URLs into explicitly sanitized UI formats:\n\n\n| Video Ecosystem | Audio Sources | Social Media | Design, Code & Mapping |\n|---|---|---|---|\n| ✅ YouTube | ✅ Spotify | ✅ Instagram | ✅ Codepen |\n| ✅ Vimeo | ✅ SoundCloud | ✅ Facebook | ✅ Figma |\n| ✅ Dailymotion | ✅ Apple Music | ✅ X / Twitter | ✅ Google Maps |\n| ✅ TikTok | | ✅ Reddit | ✅ GitHub Gists |\n| ✅ Bilibili | | ✅ LinkedIn | ✅ Google Drive |\n| ✅ Streamable | | | ✅ Giphy |\n| ✅ Loom | | | |\n| ✅ Wistia | | | |\n\n## API Reference\n\n### `embed(url: string, options?: EmbedOptions): { html: string } | null`\nThis is the core mapping payload function. It rigidly parses the incoming `url` parameter and maps it against every platform plugin linearly.\n\n**Arguments:**\n- `url` *(required)*: The raw string representation of the target URL.\n- `options.className` *(optional)*: Injects a CSS class safely into the root HTML tag (e.g., the root `<iframe>` or `<blockquote>`), allowing you to completely define sizing and bounding boxes downstream.\n\n**Returns:**\n- Object containing the rendered `{ html: string }` if a plugin caught and verified the pattern.\n- `null` if the URL schema is explicitly unsupported or malformed.\n\n## Extensibility & Architecture\n`embed-lite` inherently relies on a decoupled Service Plugin architecture. To support new platforms natively, you just simply declare an object honoring the `EmbedProvider` Typescript Interface:\n```ts\nexport const customService: EmbedProvider = {\n  name: 'Service Name',\n  match: (url) => url.hostname.includes('example.com'),\n  generate: (url, options) => {\n    return `<iframe class=\"${options.className || ''}\" src=\"...\"></iframe>`;\n  }\n}\n```\n*(We actively process Pull Requests for major new platforms! Please consider contributing if you add custom layers!)*\n\n## Community & Support\n\n- **Maintainer**: [@mgks](https://mgks.dev)\n- **Support the Project**: If `embed-lite` saved you from integrating bulky SDK tools, please consider dropping a ⭐ and consider [sponsoring the project](https://github.com/sponsors/mgks).\n\n## License\nDistributed under the MIT License. See `LICENSE` for more information.\n\n![Website Badge](https://img.shields.io/badge/.*%20mgks.dev-blue?style=flat&link=https%3A%2F%2Fmgks.dev) ![Sponsor Badge](https://img.shields.io/badge/%20%20Become%20a%20Sponsor%20%20-red?style=flat&logo=github&link=https%3A%2F%2Fgithub.com%2Fsponsors%2Fmgks)","readmeFilename":"README.md"}