Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Simple js only module to resolve YouTube playlist ids Doesn't need any login or GoogleAPI key
You can contact us for support on our chat server
var ytpl = require('ytpl');
const playlist = await ytpl('UU_aEa8K-EOJ3D6gOs7HcyNg');
dosth(playlist);
Attempts to resolve the given playlist id
id
options
US
- Allows for localisation of the requesten
- Allows for localisation of the requestreturns a Promise
Continues a previous request by pulling yet another page.
The previous request had to be done using pages
limitation.
var ytpl = require('ytpl');
const playlist = await ytpl('UU_aEa8K-EOJ3D6gOs7HcyNg', { pages: 1 });
display(playlist.items);
const r2 = ytpl.continueReq(playlist.continuation);
display(r2.items);
const r3 = ytpl.continueReq(r2.continuation);
display(r3.items);
{ continuation, items }
Returns true if able to parse out a (formally) valid playlist ID.
Returns a playlist ID from a YouTube URL. Can be called with the playlist ID directly, in which case it just resolves.
npm install --save ytpl
MIT
FAQs
Simple package to resolve YouTube playlists - no strings attached.
We found that ytpl 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.