friendlyquire
wrap require to make package-root-relative requires nicer
Installation
npm install --save friendlyquire
Usage
friendlyquire replaces regular require, and gives you ~
as a prefix to require something local. Just ~
refers to your package root.
require = requirevar something = localStuff =
Is this a good idea?
I haven't got the slightest clue.