npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dieyne-youtube-api

v5.1.2

Published

A module to simplify the YouTube API. it is same that simple-youtube-api just i have cutom search function now it return an objet not an array of videos

Downloads

4

Readme

Simple YouTube API

This library is designed to greatly simplify interacting with the basic functions of the YouTube API. It deals with viewing/searching videos, playlists, and channels.

Installation

$ npm install dieyne-youtube-api

Usage

  • Documentation This repository is clone from simple-youtube-api, i have cutom search function now it return an objet not an array of videos

Important note: the part query parameter

If you fetch a YouTube resource and it's missing information you expect to be present, it's very likely that you haven't sent the correct part query parameter to YouTube. This library has some default parts in order to give some basic information about each resource, but you should always verify your part queries if you require more/different information. Parts are available in detail on the Google Developers API documentation pages for each YouTube resource: for example, these are the available parts when fetching videos. Parts should be comma-separated.

Parts can be sent in the request options when fetching resources. For example:

const video = await youtube.getVideo('https://www.youtube.com/watch?v=dQw4w9WgXcQ', { part: 'statistics,status' })

Please see #28 for more information or to comment on this issue.