ÿØÿà JFIF H H ÿÛ C GIF89;
| System: Linux srv913213 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 Current Path : /var/www/talentgenesis_admin_backend/node_modules/requizzle/ |
| Current File : /var/www/talentgenesis_admin_backend/node_modules/requizzle/index.js |
/*
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];