node js stop

JavaScript
process.exit();
Source

Also in JavaScript: