Question: What is NodeJS
Node.js is a platform built for fast and scalable network applications. It uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. It can be used in Websites application, Android applicationa and IOS application etc.
Question: What type of Framework is Nodejs?
Question: Is Nodejs Server OR Cient Side?
It is client side
Question: What is REPL?
REPL stands for Read Eval Print Loop
Node.js comes with virtual environment called REPL (also Node shell).
Question: What are most common REPL Commands?
ctrl + cTerminate the current command.
ctrl + c twiceterminate the Node REPL.
Up/Down Keyssee command history.
tab Keyslist of current commands.
.helplist of all commands.
.breakexit from multiline expression.
.save filenamesave the current Node REPL session to a file.
.load filenameload file content in current Node REPL session.
Question: How to exist from REPL?
ctrl + c twice
Question: How to install module in NodeJS?
npm install expressfor install express.
Question: How to uninstall module in NodeJS?
npm uninstall expressfor uninstall express.