path.join
v1.0.0
Published
Function to join paths that always returns forward slashes (uniform for unix and windows). A replacement to path.join
Downloads
16,867
Maintainers
Readme
path.join
Node JS function to join paths that always returns forward slashes (uniform for unix and windows). A replacement to path.join
###Installation:
npm install path.join
###Usage:
var joinPath = require('path.join');
var onlyPath = joinPath('path', '//to/', '/my', 'heart');
//expected value for both UNIX and Windows: path/to/my/heart