Skip to content

Function to join paths that always returns forward slashes (uniform for unix and windows). A replacement to path.join

License

Notifications You must be signed in to change notification settings

miimra/path.join

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Function to join paths that always returns forward slashes (uniform for unix and windows). A replacement to path.join

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%