Showing posts from December, 2013. Show all posts


There are several different ways of generating random values in Node.js (JavaScript). Some methods use only base JavaScript functions (e.g. Math.random()) whereas others require additional modules. Generated values also differ from method to method. Some may return only numbers whereas others return base64 string or universally unique …

npm is the package manager for the Node.js platform. It helps you to download (install) modules so that node can find them during runtime. npm also manages dependency conflicts intelligently. npm has lots of commands and options and sometimes it is very hard to remember all of them. So …