# uri-join

> A `path.join` that handles URIs with protocols.

Latest version **1.0.1** (published 2015-08-18) · Apache-2.0 license · 0 weekly downloads

## Install

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

## 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.0.1 |
| Published | 2015-08-18 |
| First published | 2015-08-18 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Rob Emanuele |
| Maintainers | lossyrob |
| Keywords | uri, join |

## Links

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

## Dependencies (1)

- [url](https://npm.io/package/url.md) ^0.10.3

## Alternatives

- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-08-18
- 1.0.0 — 2015-08-18

## README

# uri-join

This module is a function for joining paths, where the first might have a protocol. Think `path.join` that can handle something like joining `s3://bucket-name` and `folder-name`.

```javascript
var uriJoin = require("uri-join");
```

Example:

```javascript
uriJoin("/local/file", "path")         // '/local/file/path'
uriJoin("s3://remote/file", "path")    // 's3://remote/file/path'
```

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