package
Join urls or system paths, even with undefined values
npm install join-pathGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Join urls or system paths, even with undefined values.
npm install join-path --savevar 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');npm install
npm test