
hapi.js – a node.js API helper
While browsing for new and exciting libraries, I have stumbled upon Hapi.
While browsing for new and exciting libraries, I have stumbled upon Hapi.
Execute multiple asynchronous functions and when they are finished execute the callback with result parameters from the functions run.
The program ‘npm’ is currently not installed. You can install it by typing: apt install npm When installing node/npm on Ubuntu, using NVM, each terminal window requires setting the node version. To fix this use the command: nvm alias default…
Licensing application based on Node.js and React. It manages the activation codes, clients andresellers.
Parallel execution of a python process using Node.js’s cluster module, in order to simultaneously run OCR on scanned documents. The app can be installed on multiple servers and using a centraldatabase where the jobs are stored, it can run multiple…
Development and implementation of a Web GIS component which consumes a predefined API.
Node.js backend and Jade (Pug) frontend based on JQuery and Twitter Bootstrap for interacting with a NAGIOS server with the purpose of monitoring the status of a network. Where Nagios isn’t available, a PING based service has been implemented.
Use the following commands to change the node.js version: sudo npm cache clean -f sudo npm install -g n sudo n 5.1.1 Instead of 5.1.1 you can write the version you want.
With megaboilerplate you can choose the type of node project (Node.js, Static site, JS Library, Electron), Express or Meteor, the template system, whether you want built in authentication and more. It’s a nice tool worth trying.
The following code will convert an object to an array in Javascript, minding the order of the keys. The keys will be replaced with numbers: /** * Convert an object to an array * @param {object} obj The object to…
Here is a couple of errors that might occur in Ubuntu or Node.js running on ubuntu: Command: wget # response wget: unable to resolve host address Or in node.js: { [Error: getaddrinfo ENOTFOUND] code: ‘ENOTFOUND’, errno: ‘ENOTFOUND’, syscall: ‘getaddrinfo’…
Normal Ubuntu 14.04 install commands: sudo apt-get update sudo apt-get install nodejs sudo apt-get install npm If the following error occurs: -bash: /usr/sbin/node: No such file or directory The fix is the following command: sudo ln -s /usr/bin/nodejs /usr/sbin/node …