top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the command that is used in node.js to import external libraries?

0 votes
566 views
What is the command that is used in node.js to import external libraries?
posted Aug 18, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Using require command we can import the external libraries.

For example,(For Importing file system)

var fs = require("fs");

Example for importing http libraries.

var http = reqiure("http");
answer Aug 22, 2014 by Amarvansh
...