The text of this article is not in this database — only its details are. Read it on the old site: Node.js in Action: Understand Modules in Node.js
1 Comment
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Node.js in Action: Understand Modules in Node.js
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Jaganathan BantheswaranPosted Nov 6, 2014, 5:30 AM
Nice one sourav. I could see the module file name as message.js but you are trying to require the module as messageModule like require('messageModule'). Did that example work???