Software Versions node.js 0.10.5 npm 1.2.18 Create the Module structure Run the npm init command to create the base module structure. mkdir test-module cd test-module mkdir bin && mkdir lib echo ### Creating a test module > README.MD Now that our module directory structure has been created, run npm init command to create the package.json file. Fill in the information as it pertains to your module.
![NodeJS: Creating your first global module](https://cdn-ak-scissors.b.st-hatena.com/image/square/8d71ff5111e05619a10d29bb40d7aebaa75c8fbc/height=288;version=1;width=512/https%3A%2F%2Fs0.wp.com%2Fi%2Fblank.jpg)