The code file is small enought that you should be fine to copy and past the source into your project. Note that this file asyncronosly loads the youtube javascript file, so there is no need to include ...
Yet another YouTube downloading module. Written with only Javascript and a node-friendly streaming interface. range - A byte range in the form {start: INT, end: INT ...