Node.js

How To Set Up a Node.js Application for Production on Ubuntu 16.04 — step-by-step Linux tutorial on Progressive Robot

How To Set Up a Node.js Application for Production on Ubuntu 16.04

Node.js is an open source JavaScript runtime environment for easily building server-side and networking applications. Node.js applications can be run at the command line but this guide focuses on running them as a service using PM2, so that they will automatically restart on reboot or failure, and can safely be used in a production environment.

Read more
Как установить Node.js в Ubuntu 14.04 — step-by-step Linux tutorial on Progressive Robot

Как установить Node.js в Ubuntu 14.04

Node.js это платформа для разработки серверных приложений на языке Javascript, позволяющая быстро создавать приложения, работающие в сети. Использование Javascript одновременно на клиентской и на серверной стороне позволяет сделать разработку более унифицированной и…

Read more
Como criar um módulo Node.js — step-by-step Javascript tutorial on Progressive Robot

Como criar um módulo Node.js

O autor selecionou a Open Internet/Free Speech Fund para receber uma doação como parte do programa Write for DOnations. No Node.js, um module é uma coleção de funções e objetos do…

Read more
How To Secure Node.js Applications with a Content Security Policy — step-by-step Javascript tutorial on Progressive Robot

How To Secure Node.js Applications with a Content Security Policy

A CSP is an HTTP header that provides an extra layer of security against code-injection attacks, such as cross-site scripting (XSS), clickjacking, and other similar exploits. It facilitates the creation of an “allowlist” of trusted content and blocks the execution of code from sources not present in the allowlist. In this tutorial, you’ll review the different protections the CSP header offers by implementing one in a Node.js application. You’ll also collect JSON reports of CSP violations.

Read more
How To Process Images in Node.js with Sharp — step-by-step Javascript tutorial on Progressive Robot

How To Process Images in Node.js with Sharp

Digital image processing is a method of using a computer to analyze and manipulate images. This tutorial covers using the Node.js library sharp to read an image and extract its metadata, resize, change and compress its format, crop, grayscale, rotate, and blur the image. As well as compositing two images into one, and adding text on an image.

Read more
CHAT