What is the command used to import external libraries?
The “require” command is used for importing external libraries.
Example:
var http=require (“http”)
It will load the http library . The single exported object through the http variable.
The “require” command is used for importing external libraries.
Example:
var http=require (“http”)
It will load the http library . The single exported object through the http variable.
Comments
Post a Comment