# join-path

> Join urls or system paths, even with undefined values

Latest version **1.1.1** (published 2017-01-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install join-path
pnpm add join-path
yarn add join-path
bun add join-path
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2017-01-11 |
| First published | 2014-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Scott Corgan |
| Maintainers | scottcorgan |
| Keywords | url, join, path, combine |

## Links

- npm: https://www.npmjs.com/package/join-path
- Repository: https://github.com/scottcorgan/join-path
- Issues: https://github.com/scottcorgan/join-path/issues
- npm.io page: https://npm.io/package/join-path

## Dependencies (3)

- [as-array](https://npm.io/package/as-array.md) ^2.0.0
- [url-join](https://npm.io/package/url-join.md) 0.0.1
- [valid-url](https://npm.io/package/valid-url.md) ^1

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.1.1 (latest) — 2017-01-11
- 1.1.0 — 2015-08-26
- 1.0.1 — 2015-07-13
- 1.0.0 — 2014-09-23

## README

# join-path

Join urls or system paths, even with undefined values.

## Install

```
npm install join-path --save
```

## Usage

```js
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
```

---
_Source: https://npm.io/package/join-path · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
