join-path

1.1.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    407,629
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    407,629
  • 1.1.0
    2
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i join-path

Weekly Downloads

407,632

Version

1.1.1

License

MIT

Last publish

Collaborators

  • scottcorgan