Uncategorized

Solving the Node require() path problem for once and for all


If you’ve worked in Node for any length of time, you’ve seen it before: something along the lines of require('../../../lib/util/db/models/system/user). Now, that might be a bit over-exaggerated to prove a point, but...