Development


📖 Kb | 📎 Development | 🔖 javascript, ecmascript, node.js, nodejs

What JavaScript versions are there and how do they map to Node.JS versions?

There are now far too many versions of JavaScript. Worse, there are several ways to refer to a JavaScript version. Then we have Node.JS which has its own versioning. This post tries to summarise it all.

🕑
📖 Kb | 📎 Development | 🔖 node.js, nodejs, npm, json

Using npm configuration environment variables in package.json

npm automatically makes parts of your package.json file available as environment variables. This can be useful when using npm as a run script service.

🕑
📖 Kb | 📎 Development | 🔖 node.js, nodejs, javascript, ecmascript

Download a GitHub Repository using Node.JS

Downloading a repository from GitHub using Node.JS should be really easy. But it isn’t! This KB post reminds us of the tricks required.

🕑
📖 Kb | 📎 Development | 🔖 javascript, ecmascript

How to walk through a JavaScript object in sort order

Using a JavaScript object like a keyed array, what is the simplest way to walk through the object?


📖 Kb | 📎 Development | 🔖 javascript, ecmascript

How to get the properties of a JavaScript object without errors

You cannot natively request chained properties of a JavaScript object without the possibility of an error. This utility function allows you to get any properties, no matter how they are nested.


📖 Kb | 📎 Development | 🔖 node.js, nodejs, JavaScript, ECMAscript

Node.JS and JavaScript

Node.JS allows JavaScript to be used as a server-side (back-end) programming language.


📖 Posts | 📎 Development | 🔖 git, github, npm, node.js, nodejs

Creating GitHub Releases from git Tags

The workflow for updating version numbers and doing git/GitHub/npm releases is far too complex to easily remember when you aren’t doing it very often. This post is a reminder of the various steps.


📖 Kb | 📎 Development, it-security | 🔖 node-red, security

How to create secure certificates

Generate certificates for Node-RED that are trusted by all modern browsers. This will let you access Node-RED (and other services) over an encrypted HTTPS link.


📖 Kb | 📎 Development, it-security | 🔖 node-red, security

How to secure Node-RED

Node-RED is increasingly used in situations that require reasonable security. Up to now, however, the information required to secure it correctly has been fragmented. This article aims to give an end-to-end outline to enable anyone to secure their installation.

🕑
📖 Kb | 📎 Development | 🔖 node-red

Using JSONata to transform msg data

JSONata is a syntax designed by IBM to help reformat and restructure JSON data in a similar vein to the way that XLST is used to transform XML data.