Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@neeraj-x0/ytsearch
Advanced tools
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 ytsearch = require('@neeraj-x0/ytsearch');
const searchResults = await ytsearch('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 ytsearch = require('@neeraj-x0/ytsearch');
const filters1 = await ytsearch.getFilters('github');
const filter1 = filters1.get('Type').get('Video');
const filters2 = await ytsearch.getFilters(filter1.url);
const filter2 = filters2.get('Features').get('Live');
const options = {
pages: 2,
}
const searchResults = await ytsearch(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 ytsearch = require('@neeraj-x0/ytsearch');
const firstResultBatch = await ytsearch('github', { pages: 1 });
const secondResultBatch = ytsearch.continueReq(firstResultBatch.continuation);
const thirdResultBatch = ytsearch.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 @neeraj-x0/ytsearch
MIT
FAQs
Simple package to search YouTube - no strings attached.
We found that @neeraj-x0/ytsearch demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.