Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Node.js Module Resolution by visual example

Node.js Module Resolution by visual example

Node.js has a very clever design for module path resolution and code loading. Most languages punt when asked to load two modules depending on different versions of a shared third module, but not Node. This presentation depicts a handful of module loading scenarios by demonstrating the filesystem layout for each.

Jeff Kunkle

April 19, 2012
Tweet

More Decks by Jeff Kunkle

Other Decks in Programming

Transcript