Browerifiable path module