Skip to content

krainboltgreene/join-path

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

join-path

Join urls or system paths, even with undefined values.

Install

npm install join-path --save

Usage

var join = require('join-path');

// OUTPUTS: some/path/for/testing
join('some', 'path', '/for/', undefined, '/testing'); 

// OUTPUTS: http://test.com/aboutus/projects
join('http://test.com', '/aboutus', 'projects');

Run Tests

npm install
npm test

About

Join urls or system paths, even with undefined values.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%