• File: index.js
  • Full Path: /var/www/sandbox/node_modules/detect-node/index.js
  • Date Modified: 02/20/2025 6:17 PM
  • File size: 186 bytes
  • MIME-type: text/plain
  • Charset: utf-8
// Only Node.JS has a process variable that is of [[Class]] process
module.exports = Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';