Loooking at the npm install docs it looks possible to npm install from a github repo.
Is it also possible to install specifically from a pull request?
Is t
"How to install NodeJS package from GitHub directly?" mentions that you can specify a branch.
So if you know the repo and branch from which a PR comes from, you can do a:
npm install git+https://github.com/user/repo.git#branch
Worth saying that you might need to escape the
#
to use a specific branch from the shell, i.e.:
npm install git+https://github.com/user/repo.git\#branch
Note that repository you want to install must be a npm module, it must contain a
package.json
file or else you will get this error:
Error: ENOENT, open 'tmp.tgz-unpack/package.json'.