# transliterate-cyrillic-text-to-latin-url

> Simple module for transliteration of cyrillic text into latin under the rules of Yandex transit

Latest version **1.1.1** (published 2019-07-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install transliterate-cyrillic-text-to-latin-url
pnpm add transliterate-cyrillic-text-to-latin-url
yarn add transliterate-cyrillic-text-to-latin-url
bun add transliterate-cyrillic-text-to-latin-url
```

## 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 | 2019-07-23 |
| First published | 2018-08-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Sergey Zaligin |
| Maintainers | gnome |
| Keywords | transliterate, url, seo url, alias, cyr, cyrillic, lat, latin |

## Links

- npm: https://www.npmjs.com/package/transliterate-cyrillic-text-to-latin-url
- Repository: https://github.com/SergeyZaligin/transliterate-cyrillic-text-to-latin-url
- Homepage: https://github.com/SergeyZaligin/transliterate-cyrillic-text-to-latin-url.git#readme
- Issues: https://github.com/SergeyZaligin/transliterate-cyrillic-text-to-latin-url.git/issues
- npm.io page: https://npm.io/package/transliterate-cyrillic-text-to-latin-url

## 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) — 2019-07-23
- 1.1.0 — 2018-12-13
- 1.0.5 — 2018-12-13
- 1.0.4 — 2018-08-18

## README

### Simple module for transliteration of cyrillic text into latin under the rules of Yandex transit
### Enable
to use at server side run:
```
nmp install transliterate-cyrillic-text-to-latin-url
yarn add transliterate-cyrillic-text-to-latin-url
```

to use in browser download this module refer to the file module/index.js using the src attribute in the script tag.


### Usage
The module exposes *transliterate* function which should be called with one or two parameters of the type String and Boolean. The function returns an output of the type String with all cyrillic characters replaced
with latin characters. Example:

```javascript
const result = transliterate('Урл;; на ру@сск13ом \    яз?ыке!!!', false);
result = url-na-russkom-yazyke

or

const result = transliterate('Урл;; на ру@сск13ом \    яз?ыке!!!');
result = url-na-russk13om-yazyke
```

a method *.noConflict* is available on *transliterate* object. This method, when invoken, restores the namespace transliterate to the previous value, if any.

---
_Source: https://npm.io/package/transliterate-cyrillic-text-to-latin-url · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
