electron/spec/fixtures/module/preload.js

8 lines
185 B
JavaScript

const types = {
require: typeof require,
module: typeof module,
exports: typeof exports,
process: typeof process,
Buffer: typeof Buffer
};
console.log(JSON.stringify(types));