path.join

v1.0.0
Function to join paths that always returns forward slashes (uniform for unix and windows). A replacement to path.join
joinPath path.join alternative uniform forward slash path join windows mac and 3 more...

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
npm i path.join

Metadata

  • Unknown
  • >= 0.10.0
  • Manny Vergel
  • released 11/21/2014

Downloads

Maintainers