top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

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

0 votes
155 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
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...