Fetch npm modules. This is a work in progress.
var fetch = ;
Fetch the package as a tarball to destination using the appropriate method.
namethe name of the package as a string
speca string which can be:
httpas the scheme, where the module is hosted somewhere as a tarball
#tag-nameis optional and defaults to
Download package at exact version and return a stream.
Download the max satisfying version of a package
Download the package
tag and return a stream
Returns a stream for the GitHub repo as a tarball at the given tag (defaults to master)
Not yet implemented
Get a stream for a tarball (handling redirects and retries).
Package up the directory at path and return a stream for the tarball.
Just create a read stream for