Why to avoid CPU intensive or console.log in node js. if really required to do that then you can use Worker to do that. Different end point to test
- npm install
- npm run dev
GET http://localhost:3000/api/
GET http://localhost:3000/api/worker
GET http://localhost:3000/api/sum
GET http://localhost:3000/api/compute