Google News
logo
NodeJS - Interview Questions
What is the command used to import external libraries ?
The “require” command is used for importing external libraries. For example:   “var http=require (“http”)”.  This will load the http library and the single exported object through the http variable.
Advertisement