# @talesoft/uri

> @talesoft/uri =============

Latest version **0.1.2** (published 2021-08-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install @talesoft/uri
pnpm add @talesoft/uri
yarn add @talesoft/uri
bun add @talesoft/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.2 |
| Published | 2021-08-31 |
| First published | 2021-08-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | torben-koehn, torbenkoehn, simonekruegel |

## Links

- npm: https://www.npmjs.com/package/@talesoft/uri
- npm.io page: https://npm.io/package/@talesoft/uri

## Dependencies (1)

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

## Recent versions

- 0.1.2 (latest) — 2021-08-31
- 0.1.1 — 2021-08-31

## README

@talesoft/uri
=============

A small set of URI utility functions.

Install
=======

```bash
// Yarn
yarn add @talesoft/uri

// NPM
npm i @talesoft/uri
```

TypeScript typings are included (No `@types/` package needed)

Usage
=====

```ts
import { parse, stringify, resolve } from '@talesoft/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/@talesoft/uri · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
