meteor/meteor — pull request #1686 by marcandre (2013-12-14 04:31:23+00:00)
Title: Allow NPM packages to be installed from a URL

I got burned by [#1214] too, and since it was closed by the bot, here it is again. (I got burned by that too), this time based on `devel`. Hope that's ok, and thanks to @deepwell coz the patch pointed me to the solution.

---

Update the NPM integration module to allow installing an npm package from a private URL instead of limiting it to public npm modules only.

This replaces the _isGitHubTarball() function to handle not just git tarballs, but to handle any compressed package on any server.

You then use this the same way as the current github tarball feature:
Inside your package.js file add:

```
Npm.depends({
'your-package-name': 'http://website.com/example/your-package-name-0.0.1.tar.gz'
});
```