yj

youtube-js

WARNING: this repo is not maintained anymore

Showing:

Popularity

Downloads/wk

6

GitHub Stars

14

Maintenance

Last Commit

9yrs ago

Contributors

2

Package

Dependencies

2

Size (min+gzip)

4.3KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Requirements

  • compress
  • sync

Installation

npm install youtube-js

Example

var yt = require('youtube-js');

yt.getInfo('http://www.youtube.com/watch?v=F6k8lTrAE2g', function(info) {
    info.download('/tmp/' + info.author + ' - ' + info.title, {
        fmt: '5',
        onData: function (len, size) {
            console.log('downloaded ' + len + ' bytes from ' + size);
        },

        onComplete: function (file) {
            console.log('download complete');
        }
    });
    
});

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100