Exiting is a way of terminating a Node.js process by using node.js process module.
Exiting
Visit the following resources to learn more: