Tasks scheduling in Node.js

In this post I will describe several ways of scheduling tasks in Node.js using standard JavaScript methods like setTimeout() and setInterval(), but also some libraries like Bree or cron with a way more sophisticated scheduling configuration mechanisms.

Random values in JavaScript and Node.js

There are several different ways of generating random values in Node.js. Some methods use only base JavaScript functions; others require additional modules. Generated values also differ from method to method. Some may return only numbers whereas others return a Base64 string or UUIDs.

Images with data URI scheme using Node.js

In this post, I am sharing how to embed an image data directly into the document with data URI scheme in Node.js and Jade. The data URL scheme specification is RFC 2397. This process will basically require conversion of an image into Base64 format.