github - Efficient way to test a pull request for an npm package dependency -


i wondering efficient way test pull request in npm module?

imagine following (quite typical) use case: - using npm package dependency in project - discover problem, report , offers fix in pull request

what effective way test pull request without waiting pull request merged?

i'm aware can fork project, merge pull request fork , install local directory wondering, if there more efficient solutions typical problem?

you add reffernce github repo in packages.json file like:

'foo' : 'git://github.com/some_patcher/foo.git#commit_id_that_fixes' 

Comments