Tuesday, 29 March 2016

How to include or import the modules ?


var module1 = require("moduleName");

Example : Import http module
var http = require("http");

No comments:

Post a Comment

Note: only a member of this blog may post a comment.