Angular / Node js
/* Hello World! program using Node.js */ console.log("Hello World!");
Node.js is a powerful server side JavaScript based framework/platform built on Google Chrome's JavaScript V8 Engine.
It enables the development of I/O intensive web applications like video streaming sites, single-page applications (SPA) and other web applications.
Yes.
Application that involves cpu processing.
npm makes it easy for JavaScript developers to share and reuse code, and it makes it easy to update the code that you're sharing.
Use npm list for local packages or npm list -g for globally installed packages.
To find the version of the particular package given that the package name is known, use the command npm list package-name.
Transpiling refers to the process of taking source code written in one language and transforming into another language that has a similar level of abstraction.
The below logging npm libraries are available for NodeJS projects.
- Log4js,
- Winston,
- debug,
- and Bunyan.
Use the compression middleware for gzip compression in your Express app. Gzip compressing decrease the size of the response body and hence increase the speed of a web app.
First, install the npm package in your project for compression:
$ npm i compression --save
You can use the module in your application.
var compression = require('compression') var express = require('express') var app = express() app.use(compression())
NestJS is a progressive Node.js framework for building efficient, reliable and scalable server-side applications.
- Core module in Node.JS.
- Uses the Chrome DevTools (CDT) protocol.
- Can connect to local or remote V8 engine.