Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

videoinfo

0.2.2 • Public • Published

VideoInfo

Build Status

A node module for retrieving information of videos from popular video services.

Supported services:

  • Youtube
  • Vimeo
  • Confreaks

Installation

npm install videoinfo

Usage

Fetch the information for a video

vi = require('videoinfo');
vi.fetch('http://www.youtube.com/watch?v=9eHbqMayxv8', function (err, data) {
	//...
});

Data will have the following schema

{
	title: "title",
	description: "description",
	thumbS: "thumbnail/path",
	thumbM: "thumbnail/path",
	thumbL: "thumbnail/path"
}

Running Test

mocha

or

grunt test

Keywords

none

install

npm i videoinfo

Downloadsweekly downloads

14

version

0.2.2

license

none

last publish

collaborators

  • avatar