# @stackmeister/uri

> @stackmeister/uri =================

Latest version **0.1.8** (published 2022-11-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @stackmeister/uri
pnpm add @stackmeister/uri
yarn add @stackmeister/uri
bun add @stackmeister/uri
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.8 |
| Published | 2022-11-09 |
| First published | 2022-11-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 16.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | torbenkoehn |

## Links

- npm: https://www.npmjs.com/package/@stackmeister/uri
- Repository: https://github.com/StackmeisterGmbH/typescript-packages
- Homepage: https://github.com/StackmeisterGmbH/typescript-packages#readme
- Issues: https://github.com/StackmeisterGmbH/typescript-packages/issues
- npm.io page: https://npm.io/package/@stackmeister/uri

## Dependencies (2)

- [uri-js](https://npm.io/package/uri-js.md) ^4.4.1
- [@stackmeister/types](https://npm.io/package/@stackmeister/types.md) ^0.1.4

## Recent versions

- 0.1.8 (latest) — 2022-11-09
- 0.1.7 — 2022-11-09
- 0.1.6 — 2022-11-09

## README

@stackmeister/uri
=================

A small set of URI utility functions.

Install
=======

```bash
// Yarn
yarn add @stackmeister/uri

// NPM
npm i @stackmeister/uri
```

TypeScript typings are included (No `@types/` package needed)

Usage
=====

```ts
import { parse, stringify, resolve } from '@stackmeister/uri'

const { scheme, userInfo, host, port, path, query, fragment } = parse(
  'https://example.com/some/path?query=test#someFragment'
)


const uri = stringify({ scheme, userInfo, host, port, path, query, fragment })

const fullUri = resolve('https://example.com', '/some/path')
```

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