UNPKG
intercept-require
Version:
latest (1.1.0)
1.1.0
1.0.1
1.0.0
0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Intercept calls to require()
github.com/nickb1080/intercept-require
nickb1080/intercept-require
intercept-require
/
test
/
malformed.js
3 lines
•
103 B
JavaScript
View Raw
1
2
3
// no comma between properties
// requiring this file will throw an error
module
.
exports
= {a:
0
b:
1
};