Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@iam_neyk/ytsr
Advanced tools
Simple package to search YouTube - no strings attached.
Simple js only package to search for Youtube for Videos, Playlists and many more. Does not require any login or Google-API-Key.
You can contact us for support on our chat server
const ytsr = require('ytsr');
const searchResults = await ytsr('github');
Searches for the given string
searchString
options
US
- Allows for localisation of the requesten
- Allows for localisation of the requestreturns a Promise
Pulls avaible filters for the given string or link
const ytsr = require('ytsr');
const filters1 = await ytsr.getFilters('github');
const filter1 = filters1.get('Type').get('Video');
const filters2 = await ytsr.getFilters(filter1.url);
const filter2 = filters2.get('Features').get('Live');
const options = {
pages: 2,
}
const searchResults = await ytsr(filter2.url, options);
searchString
options
US
- Allows for localisation of the requesten
- Allows for localisation of the requestMap<String, Map<String, Filter>>
Continues a previous request by pulling yet another page.
The previous request had to be done using pages
limitation.
const ytsr = require('ytsr');
const firstResultBatch = await ytsr('github', { pages: 1 });
const secondResultBatch = ytsr.continueReq(firstResultBatch.continuation);
const thirdResultBatch = ytsr.continueReq(secondResultBatch.continuation);
// You can now use the .items property of all result batches e.g.:
console.log(firstResultBatch.items);
console.log(secondResultBatch.items);
console.log(thirdResultBatch.items);
{ continuation, items }
npm install --save ytsr
MIT
FAQs
Simple package to search YouTube - no strings attached.
The npm package @iam_neyk/ytsr receives a total of 3 weekly downloads. As such, @iam_neyk/ytsr popularity was classified as not popular.
We found that @iam_neyk/ytsr 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.