[nodejs] How to overload the URL fetch in npm?

2015-06-29 Thread Yuri Vic
I want to create the package for one nodejs-based project. All files that are required to be downloaded should be downloaded and fingerprinted before the npm can be started. Is there the way URL fetch can be overloaded with my own JavaScript function, so I can see what URLs are being fetched, a

Re: [nodejs] How to overload the URL fetch in npm?

2015-07-01 Thread Gustavo Machado
You might be able to use something like this: https://github.com/mixu/npm_lazy Thanks, Gus On Sun, Jun 28, 2015 at 8:20 PM, Yuri Vic wrote: > I want to create the package for one nodejs-based project. All files that > are required to be downloaded should be downloaded and fingerprinted before >