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

youtube-grabber

v1.0.34

Published

Youtube to mp3/mp4 converter (ytmp3)

Downloads

11

Readme

Youtube Grabber (ytmp3)

Installation NPM

npm install youtube-grabber

| Command | |---------| | node node_modules/youtube-grabber |

Installation GIT

git clone https://github.com/eyvazoff/youtube-grabber.git

| Command | |---------| | nodemon or node index.js |

TIP

| Key | Value | |-----|-------| | id | Youtube video ID | | type | mp3 or mp4 |

  • URL - http://localhost:3000/{id}/{type}
  • Example URL - http://localhost:3000/TpgwhHFH6Rw/mp4

Proxy

You can use with Puppeteer proxy.
See variables in index.js

| Variable | Value | |-----|-------| | proxy | Default: false (Boolean) | | proxy_ip | 8.8.8.8| | proxy_host | 3001 |

Success

{
    success: true,
    url: 'https://jrr.fjrifj.frl/d5540ad54dd35591beef76ac25727074/tiEt1qkaaGA'
}

Error

{
    success: false,
    statusCode: 100   
}

| Status code | Description | |-----------|-------| | 100 | Something went wrong| | 120 | Can't open URL| | 101 | Not found input| | 102 | Error block not found| | 103 | Download link not found| | 104 | Buttons not found| | 105 | Progress timeout| | 1101 | The servers are under maintenance.| | 1102 | The video is blocked from converting due to a DMCA request.| | 1103 | The video is no longer available on YouTube or the video is a live stream.| | 1201 | The video is not available in our server location.| | 1202 | The video is age restricted.| | 1203 | The video is longer than 1 hour.| | 1204 | There has been a conversion error.|