join-path
Join urls or system paths, even with undefined values
Last updated 12 years ago by scottcorgan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install join-path 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.1                                ...           latest (10 years ago)

4 Versions

  • 1.1.1                                ...           10 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 6
Today 0
This Week 5
This Month 6
Last Day 0
Last Week 1
Last Month 0
Dependencies (3)
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE