path utility for node.js in the spirit of Pathname