Jul 31, 2024
node --version
node --version
.app.js
file (example function: sayHello(name)
).node app.js
.module.exports
to expose functionalities.console
, setTimeout
, and setInterval
.logger.js
) to manage logging.require
to load modules and use their functionality.emitter.on('eventName', callback)
).http.createServer()
to create a server and register request handlers.