
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
embedgenerator
Advanced tools
this package create embed url with link
embedgenerator is documented in here
| site | type | supported |
|---|---|---|
| spotify | tracklist,track | ✅ |
| deezer | tracklist,track | ✅ |
| youtube | playlist,video,live | ✅ |
const { YoutubeGenerator } = require("embedgenerator");
YoutubeGenerator.embed("https://www.youtube.com/watch?v=dQw4w9WgXcQ").then(
(url) => {
console.log(url);
//output: https://youtube.com/embed/dQw4w9WgXcQ
}
);
const { SpotifyGenerator } = require("embedgenerator");
SpotifyGenerator.embed(
"https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT?si=8485dc026c1e4205"
).then((url) => {
console.log(url);
//output: https://open.spotify.com/embed/track/4cOdK2wGLETKBW3PvgPWqT?utm_source=oembed
});
const { DeezerGenerator } = require("embedgenerator");
DeezerGenerator.embed("https://deezer.page.link/KsnNy8jDSAzvD4GA7").then(
(url) => {
console.log(url);
//output: https://widget.deezer.com/widget/auto/track/66677621?autoplay=false&radius=true&tracklist=true
}
);
You can contribute with fork this project and add pull request
npm run test
This project is under licence ISC
FAQs
create url embed for spotify,deezer,youtube,etc...!
We found that embedgenerator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.