Modules (1)


Creating Custom Modules in Node.js

If you’ve been using Node.js, you’ve probably been using modules for some time. A module is basically a javascript file that exposes internally scoped functions using the exports variable. In this tutorial, I’ll show how to create a simple string splitting module to give you a basic understanding. Getting Started Lets start off by creating […]