When your build your NPM registry, you can replicate single package with sync_package, but replicate all packages(It's pretty big).
https://github.com/TBEDP/sync_package 在 2013年2月19日星期二UTC+8上午2时23分05秒,andy写道: > > Apologies in advance because I've only glanced at this problem, but we > work in a unique environment where we have no Internet connectivity. > So, with our Java apps, we run an instance of Artifactory on our LAN and > load it by running an instance that is connected, which we then export and > bring into the 'offline' instance. That gives us a sort of mirror of Java > dependencies for maven and what not when we're developing. > > Is there anything like Artifactory for npm? Do I need to roll my own > somehow (i.e. would a simple WebDAV server work or is it more complex)? > > I've glanced at Mike's node-reggie idea so maybe that is a place to start ( > https://github.com/mbrevoort/node-reggie). > > We don't need anything fancy - just a way to add npm modules to a project > without having to check them in or pass around a giant .zip copy with all > possible repos...etc. (Right now I just have a "node_modules_for_work" > folder where I load up a ton of modules, then I zip that up and bring it > in.) > > I'm happy to go off and do some reading/digging, so links to similar > ideas/attempts are appreciated. > > Thanks, > > Andy > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.