Tags » Node

Browserify: getting started

Browserify in a few easy steps

Among other things, browserify will allow you to use modules in the browser.

In a folder, create an index.html file whose external script file is non-existent… 134 more words

Node.js Load external JS

Here’s how you can load multiple JS files into a node app without modules.

const vm = require("vm");
const fs = require("fs");

function LoadJS(aPath) {
 const xCode = fs.readFileSync(aPath);
 vm.runInThisContext(xCode);
}

LoadJS("Test.js");
LoadJS("Test2.js");
… 6 more words
Programming

Node-Red: Checking network service port status + UI status indicator

This post is about how to do two simple things using Node-Red:

  1. Check if network service on the machine running Node-Red is available by checking the corresponding listening port.
  2. 933 more words
All About All

get mongodb version in npm

mongod --version

“C:\Program Files\MongoDB\Server\3.6\bin\mongod.exe” –version

npm iĀ get-mongodb-version

MongoDB

Doubly Linked List

It’s been a while since I last posted on my blog. I admit that I lost my focus, but I am here again to make things right for me. 279 more words

C++