What is process in Node.js?
process is a global object that provides information and control over the current Node.js
process.
📌 Examples:
console.log(process.pid); // Process ID
console.log(process.platform); // OS platform
You can also handle exit events:
process.on('exit', () => {
console.log('Exiting...');
});