spec-url
URL library that implements a reference resolution algorithm for WHATWG URLs
path-less-traveled
Utility that makes it easier to reference paths relative to some base dir throughout your codebase.
require-self-ref
Solves the relative path problem in Node.js by allowing a require call to reference the current package