get-youtube-id

Parse a youtube url returning the video ID.

npm install get-youtube-id
1 downloads in the last day
18 downloads in the last week
135 downloads in the last month

get-youtube-id

Parse a youtube url returning the video ID.

Installation

npm install get-youtube-id

Example

var getYouTubeID = require('get-youtube-id');

var id = getYouTubeID("http://www.youtube.com/watch?v=9bZkp7q19f0");
console.log(id); // "9bZkp7q19f0"

License

MIT

npm loves you