What is Nodejs
Nodejs is javascript runtime environment.
A process is created.
import React from 'react';
const React = require('react');
// npm init -y
// with "type": "module" in your package.json, you can use import
// import React from 'react';
E.g., fs
module which stands filesystem is a core module
function func() {
}
module.exports = {
func
}
npm i axios
npm i voucher-code-generator
Third party modules can be downloaded again if we delete node_modules folder or it is skipped in version control system.