Menu

Node.js

[Workshop] Node.js & Get Data from the Web @ LFU
The Node.js & Get Data from the Web workshop happened on 13. & 27. March 2018 at Cultural Center Q – Club Tiffany, Ljubljana, Slovenia. As [...]
Add color to the console in Node.js
Package on npm Installation npm install --save-dev colors Usage var colors = require('colors/safe'); var volume = " ▁ ▂ ▃ ▄ ▅ ▆ █" [...]
Node.js Basics
Create a node module new-module.js exports.myText = 'Hi from the module'; module-demo.js var myModule = require('./new-module'); [...]
cheerio – jQuery for the server
Fast, flexible & lean implementation of core jQuery designed specifically for the server. Cheerio on GitHub Installation npm install cheerio Usage [...]
axios – a promise based HTTP client
Axios is a promise based HTTP client for the browser and node.js. axios GitHub Installation npm install axios or add to the web page <script [...]
Moment.js
Parse, validate, manipulate, and display dates and times in JavaScript. Moment.js docs moment().format('MMMM Do YYYY, h:mm:ss a'); // January 25th 2018, [...]
First step into Arduino and Node.js
Install Firmata on Arduino Open Arduino IDE – Select: File > Examples > Firmata > StandardFirmataPlus and Upload it to the Arduino Install [...]