# @kolkov/url-translit

> Text to URL transliteration util.

Latest version **0.0.1** (published 2019-05-18) · 0 weekly downloads

## Install

```sh
npm install @kolkov/url-translit
pnpm add @kolkov/url-translit
yarn add @kolkov/url-translit
bun add @kolkov/url-translit
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2019-05-18 |
| First published | 2019-05-18 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 31.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | kolkov |

## Links

- npm: https://www.npmjs.com/package/@kolkov/url-translit
- npm.io page: https://npm.io/package/@kolkov/url-translit

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.9.0

## Recent versions

- 0.0.1 (latest) — 2019-05-18

## README

# UrlTranslit

Text to URL transliteration util.

## Installation

via npm

```
npm install @kolkov/url-translit
```

## Example

```typescript
import {translit} from "@kolkov/url-translit";
```

and then in code for example in Angular component

```typescript
 updatePath() {
    const pathValue = this.form.get("path").value;
    if (pathValue === '') {
      const value = this.form.get("title").value;
      const urlPathValue = translit(value);
      this.form.patchValue({"path": urlPathValue});
    }
  }
```

## License

MIT

## Generator

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.0-rc.4.

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