proxyquire

Proxies nodejs require in order to allow overriding dependencies during testing.

mock-require-lazy

Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a drop in replacement for mock-require

require-hijack

Hijack node require calls, with support for hijacking the entire module itself rather than only its properties. Handy for unit testing and mocking require calls in sub modules!