0.1.0-next.7 • Published 6 months ago
@social-embed/lib v0.1.0-next.7
@social-embed/lib
·
Start
To use the lib you can do:
npm i @social-embed/lib
# or
yarn add @social-embed/lib
Then import and use as such:
import { getYouTubeIdFromUrl } from "@social-embed/lib";
console.log(getYouTubeIdFromUrl("https://www.youtube.com/watch?v=Bd8_vO5zrjo"));
// output: Bd8_vO5zrjo
If you support ESM / Urls, you can also import via like this:
// unpkg
import {getYouTubeIdFromUrl} from 'https://www.unpkg.com/@social-embed/lib?module';
// skypack
import {getYouTubeIdFromUrl} from 'https://cdn.skypack.dev/@social-embed/lib';
API reference
https://social-embed.git-pull.com/api/
Try
0.1.0-next.4
9 months ago
0.1.0-next.5
7 months ago
0.1.0-next.7
6 months ago
0.1.0-next.3
11 months ago
0.1.0-next.0
11 months ago
0.1.0-next.1
11 months ago
0.1.0-next.2
11 months ago
0.0.2-next.1
1 year ago
0.0.2-next.0
2 years ago
0.0.1-next.12
3 years ago
0.0.1-next.11
3 years ago
0.0.1-next.10
3 years ago
0.0.1-next.9
3 years ago
0.0.1-next.8
3 years ago
0.0.1-next.7
3 years ago
0.0.1-next.6
3 years ago
0.0.1-next.5
3 years ago
0.0.1-next.4
3 years ago