how does the require function path work in javascript code example
Example 1: How to get the path to the file that required your module?
module.parent
Example 2: npm can i use my modules without specifying the path
npm install --save ../path/to/mymodule