• File: index.js
  • Full Path: /var/www/nodejs/callDir/node_modules/debug/src/index.js
  • Date Modified: 06/03/2024 5:11 PM
  • File size: 314 bytes
  • MIME-type: text/plain
  • Charset: utf-8
/**
 * Detect Electron renderer / nwjs process, which is node, but we should
 * treat as a browser.
 */

if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
	module.exports = require('./browser.js');
} else {
	module.exports = require('./node.js');
}