stop node js code example
Example 1: node js stop
process.exit();
Example 2: stop npm server
npm run react-scripts start
Example 3: ran ctrl c and npm server is still running
killall node
process.exit();
npm run react-scripts start
killall node