JavaScript


📖 Kb | 📎 Development | 🔖 node-red, node.js, javascript

Creating a notification in the Admin UI

Node-RED’s admin UI has a built-in notification (toast) pop-up message feature. This article explains how to use it when creating custom nodes as it isn’t currently well documented.

Cleaning up npm package install problems

Node-RED uses npm to manage package installations such as its nodes. Sometimes, you can get into a situation where you start getting lots of npm installation or removal issues and it feels like you are going round in circles trying to fix things. If so, time to call it a day and to get drastic! Here, I try to explain an easy way to fix things quickly and completely without side effects.


📖 Kb | 📎 Development | 🔖 javascript, ecmascript

How to take control of JavaScript console output

All browsers have the console object that lets you output to the developer console log. But in production, you don’t want this output, only in development. So here is the easiest way I’ve found to take control.


📖 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, 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, Diigo | 🔖 bookmarklet, javascript

Diigo Bookmarks 05/12/2011

Jash: JavaScript Shell <p class="diigo-description"> &#8220;Jash is a DHTML-based window that gives you command-line JavaScript access to the current browser window. With this console you can quickly debug scripts, manipulate the DOM, view the current page&#8217;s objects, functions, and variables, execute arbitrary Javascript, enter new CSS (in IE, Firefox, Opera, and Safari), and much more.&#8221; &#8211; A useful tool to execute JavaScript, make live (temporary) CSS changes to a page, discover the page structure, etc.