You can swap out a module with a mock version by changing a single require path – invaluable for unit testing with tools like TestService .