Installation
Quick Start
Section titled “Quick Start”Installing via Package Managers
Section titled “Installing via Package Managers”npm i @social-embed/libyarn add @social-embed/libpnpm add @social-embed/libUsing a CDN
Section titled “Using a CDN”For environments that support ES modules from remote sources (e.g., online sandbox environments), you can import the library directly:
import { getYouTubeIdFromUrl } from "https://www.unpkg.com/@social-embed/lib?module";import { getYouTubeIdFromUrl } from "https://cdn.skypack.dev/@social-embed/lib";Where to Next?
Section titled “Where to Next?”- Head over to the Playground section to explore demos and examples.