Understanding module.exports and exports in Node.js

James shows how to work with modules in Node.js, focusing on how to export and consume them, and explaining the difference between module.exports and exports.

Continue rea…


This content originally appeared on SitePoint and was authored by James Hibbard

Working with Modules in Node.js James shows how to work with modules in Node.js, focusing on how to export and consume them, and explaining the difference between module.exports and exports.

Continue reading Understanding module.exports and exports in Node.js on SitePoint.


This content originally appeared on SitePoint and was authored by James Hibbard


Print Share Comment Cite Upload Translate Updates
APA

James Hibbard | Sciencx (2023-03-26T23:50:42+00:00) Understanding module.exports and exports in Node.js. Retrieved from https://www.scien.cx/2023/03/26/understanding-module-exports-and-exports-in-node-js/

MLA
" » Understanding module.exports and exports in Node.js." James Hibbard | Sciencx - Sunday March 26, 2023, https://www.scien.cx/2023/03/26/understanding-module-exports-and-exports-in-node-js/
HARVARD
James Hibbard | Sciencx Sunday March 26, 2023 » Understanding module.exports and exports in Node.js., viewed ,<https://www.scien.cx/2023/03/26/understanding-module-exports-and-exports-in-node-js/>
VANCOUVER
James Hibbard | Sciencx - » Understanding module.exports and exports in Node.js. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/03/26/understanding-module-exports-and-exports-in-node-js/
CHICAGO
" » Understanding module.exports and exports in Node.js." James Hibbard | Sciencx - Accessed . https://www.scien.cx/2023/03/26/understanding-module-exports-and-exports-in-node-js/
IEEE
" » Understanding module.exports and exports in Node.js." James Hibbard | Sciencx [Online]. Available: https://www.scien.cx/2023/03/26/understanding-module-exports-and-exports-in-node-js/. [Accessed: ]
rf:citation
» Understanding module.exports and exports in Node.js | James Hibbard | Sciencx | https://www.scien.cx/2023/03/26/understanding-module-exports-and-exports-in-node-js/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.