Plato on Github
Report Home
node_modules/graceful-fs/fs.js
Maintainability
68.28
Lines of code
7
Difficulty
3.38
Estimated Errors
0.08
Function weight
By Complexity
By SLOC
// eeeeeevvvvviiiiiiillllll // more evil than monkey-patching the native builtin? // Not sure. var mod = require("module") var pre = '(function (exports, require, module, __filename, __dirname) { ' var post = '});' var src = pre + process.binding('natives').fs + post var vm = require('vm') var fn = vm.runInThisContext(src) fn(exports, require, module, __filename, __dirname)