Pfade
This is a basic route normalizing library. It helps in avoiding relative paths.
Installation
npm install pfade
Usage
Instead of using the relative paths
you can use
var Pfade = var pfade = __dirname // specify the absolute path to your project var index = pfade var handle = pfade console
This reduces the ugly relative path requires. After the first instantiation, you won't have to provide the absolute address of the project.
You can just instantiate
var Pfade = var pfade =
License
MIT