require('http')
(matches a built-in library or a stub version of it) or require('./foo.js')
(resolves relative to the file) or if the file is part of a NodeJS project, may resolve the main file of a library under its node_modules
directory.
@param name The literal name of the module (i.e. should not end with .js)
@param relativeTo The file that contains the reference
@return A FileObject or null
|
|
|
|
|
|