node-ytt

    1.0.3 • Public • Published

    NPM version NPM downloads Dependencies Dependencies

    NPM info

    node-ytt

    Simple module to get YouTube trending videos. No need of GoogleAPI key.

    Usage

    const ytt = require('node-ytt');
     
    ytt((response) => {
        if(response instanceof Error)
            throw response
        console.log(response)
    })

    API

    ytt(callback)

    Fetches latest YouTube trending videos from US origin.

    • callback(result)
      • function
      • fires on request completion
      • result can be error or videos response

    Related / Works well with

    Install

    npm install --save node-ytt
    

    License

    MIT

    Install

    npm i node-ytt

    DownloadsWeekly Downloads

    15

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    7.56 kB

    Total Files

    4

    Last publish

    Collaborators

    • venkataramanab