If you want a mirror of the public npm repo, one option is to replicate the couch database. It's pretty big, but once replicated would give you a full mirror. I'm pretty sure you can do delta updates later on by putting the couch database back online and syncing again.
On Mon, Feb 18, 2013 at 12:42 PM, Luke Arduini <[email protected]>wrote: > You could set up git on a server on your lan and just specify dependencies > in your projects' package.json files pointing to the git address. Seems > like it would be the easiest way to go for private modules not on the > internet. > > > On Mon, Feb 18, 2013 at 1:23 PM, andy e <[email protected]> wrote: > >> 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 [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> 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 [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
