Skip to main content

Command Palette

Search for a command to run...

Introduction to Node.js and NPM

Published
1 min readView as Markdown
P

with knowledge of Frontend and Backend development. Good Knowledge of JavaScript, React, Node.js, Express, and Bootstrap, and Microsoft Azure. Adept to the new environment and open to learning new technologies to yield positive outcomes. My hobbies include reading and traveling.

download.jpg What is Node.js?

  • Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

  • Node.js is an open-source server environment, runs on various platforms (Windows, Linux, Unix, etc), and is free.

  • Node.js uses an event-driven, non-blocking I/O, model. Use Cases Server-side Development (Web server, business logic, Database access)

What is Node Package Manager(NPM)? Node package manager manages the ecosystem of node modules or packages. These packages consist of:

  • Javascript files

  • Package.json

When Node.js is installed on your computer, Node package manager is automatically installed. To install Node.js click on the link below and select LTS (Recommended). https://nodejs.org/en/download/ Choose the file that is compatible with your computer and install it. To check if Node.js was correctly installed, open the command line on windows/MacOs and run (npm -v and node -v) to get the version installed.

What is a Module in Node.js? A module in Node.js can also be referred to as a Javascript library. That is a set of functions you want to include in your application project.

Node.js has a set of built-in modules that you can use without installation. To include in your application use the require() function with the name of the function in the module.

#node.js #javascript

24 views

More from this blog

Pascal Ojinnaka's Blog

9 posts

A motivated Software Engineer, and certified Microsoft Azure Developer with knowledge of Frontend and Backend development. Good Knowledge of React.js, Node.js, and ExpressJs