NodeJs Interview Questions
NodeJs Interview Questions
js Interview Questions
1. What is Node.js?
Node.js is an open-source, cross-platform JavaScript runtime environment that allows
developers to execute JavaScript code outside a web browser.
o process.nextTick(): Executes after the current operation, before the event loop
continues.
14. What is the difference between npm install and npm install --save?
--save ensures the package is added to dependencies in package.json. (In NPM 5 and
above, --save is the default behavior.)
o Fast execution
o Non-blocking I/O
o Scalability
o Use HTTPS
o Sanitize inputs