/
var
/
www
/
greso.tech
/
server
/
nsm
/
node_modules
/
requizzle
/
/var/www/greso.tech/server/nsm/node_modules/requizzle
mkdir
upload
Name
Size
Mode
Actions
lib/
-
0755
rm
index.js
826
0644
edit
dl
rm
LICENSE
1117
0644
edit
dl
rm
package.json
955
0644
edit
dl
rm
README.md
6754
0644
edit
dl
rm
Edit:
/var/www/greso.tech/server/nsm/node_modules/requizzle/index.js
(826B)
/* Copyright 2014 Google LLC Use of this source code is governed by the MIT License, available in this package's LICENSE file or at http://opensource.org/licenses/MIT. */ const _ = require('lodash'); const Requizzle = require('./lib/requizzle'); module.exports = function requizzle(options) { let instance; if (!options || typeof options !== 'object') { throw new TypeError("Requizzle's options parameter must be a non-null object."); } options = _.clone(options); options.parent = module.parent; return (filepath) => { instance = instance || new Requizzle(options); return instance.requizzle(filepath); }; }; module.exports.Requizzle = Requizzle; // force Node.js to reload this module each time it's required, so module.parent is always correct delete require.cache[__filename];
Save
cmd:
run