GitHub
require-hijack
v1.2.1
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!
node
require
mock
inject
unit
test
Readme
Versions
Dependencies
Scripts
1.2.1
1.2.0
1.1.0
1.0.1
1.0.0
0.1.0
npm i require-hijack
Source Code
github.com/adamterlson/requi...
Metadata
BSD
Whatever
Adam Terlson
released 10/10/2013
Downloads
Downloads Tab Here
Maintainers
adam.terlson