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.
youtube-search
Advanced tools
Easily search for videos on Youtube using their v3 API.
You can pass a lot of optional parameters as the second parameter, they are documented here.
Google enforces a rate limit on the Youtube Data API. You will probably need to
register your application for a key and supply this key in the opts
.
var search = require('youtube-search');
var opts = {
maxResults: 10,
key: 'yourkey'
};
search('jsconf', opts, function(err, results) {
if(err) return console.log(err);
console.dir(results);
});
A TypeScript definition file is included so that 'youtube-search' can be used easily from TypeScript.
import * as youtubeSearch from "youtube-search";
var opts: youtubeSearch.YouTubeSearchOptions = {
maxResults: 10,
key: "yourkey"
};
youtubeSearch("jsconf", opts, (err, results) => {
if(err) return console.log(err);
console.dir(results);
});
To run the tests you need a Youtube v3 API key:
API_KEY=<your-api-key> npm test
FAQs
Search for youtube videos
The npm package youtube-search receives a total of 0 weekly downloads. As such, youtube-search popularity was classified as not popular.
We found that youtube-search 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.
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.