Just wanted to share a nice piece of code I created..
The thing is, that if it is not a third party module, you have to specify the full path in your project (absolute or relative) in order to do so. it usually looks something like this:
Not only it is ugly, it is terribly hard to refactore the code afterwards (IntelliJ’s refactoring fails to do it).
So, I created this module called rekuire.
rekuire scans the project paths upon first execution, so all you need to specify, is the file name!
no paths! (it saves a bunchload of time)
In order install, using npm, type “
npm install rekuire“!
And don’t forget, you are more then welcome to check it out and contribute to it on github. 🙂