PathJoin.js 106 Bytes Edit Raw Blame History 1 2 3 4 5 function pathJoin(a, b) { return a == "/" ? "/" + b : (a || "") + "/" + b; } module.exports = pathJoin;