An open API service indexing awesome lists of open source software.

https://github.com/igorskyflyer/npm-duoscribi

✒ DúöScríbî allows you to convert letters with diacritics to regular, ASCII letters. 🤓
https://github.com/igorskyflyer/npm-duoscribi

accent ascii back-end biome converter diacritics diacritics-removal diacritization duoscribi igorskyflyer javascript js language node npm text typescript unicode vitest

Last synced: about 2 months ago
JSON representation

✒ DúöScríbî allows you to convert letters with diacritics to regular, ASCII letters. 🤓

Awesome Lists containing this project

README

        

DúöScríbî



✒ DúöScríbî allows you to convert letters with diacritics to regular letters. 🤓








💖 Support further development


I work hard for every project, including this one


and your support means a lot to me!




Consider buying me a coffee. ☕


Thank you for supporting my efforts! 🙏😊





Donate to igorskyflyer




@igorskyflyer










## 📃 Table of contents

- [Usage](#-usage)
- [API](#-api)
- [duoscribi()](#duoscribiinput-string-string)
- [Examples](#-examples)
- [Changelog](#-changelog)
- [License](#-license)
- [Related](#-related)
- [Author](#-author)




## 🕵🏼 Usage

Install it by executing:

```shell
npm i "@igor.dvlpr/duoscribi"
```


## 🤹🏼 API

### `duoscribi(input: string): string`

*Converts letters with diacritics to regular, ASCII letters.*

`input: string` - The string to convert.

Returns the converted string or an empty string otherwise.


> ℹ To see the extensive list of `508` supported characters with diacritics, see the [SUPPORTED_CHARS.md](https://github.com/igorskyflyer/npm-duoscribi/blob/main/SUPPORTED_CHARS.md) file.

---

## ✨ Examples

`example.ts`
```ts
import { duoscribi } from '@igor.dvlpr/duoscribi'

duoscribi('Ťḥė ẅâÿ ţɵ ɡėţ șţãrţėd iș ţɵ quiţ ţālkinɡ ānd bėgin dɵinɡ')
// returns 'The way to get started is to quit talking and begin doing'
```

---

## 📝 Changelog

📑 The changelog is available here: [CHANGELOG.md](https://github.com/igorskyflyer/npm-duoscribi/blob/main/CHANGELOG.md).

---

## 🪪 License

Licensed under the MIT license which is available here, [MIT license](https://github.com/igorskyflyer/npm-duoscribi/blob/main/LICENSE).

---

## 🧬 Related

[@igor.dvlpr/keppo](https://www.npmjs.com/package/@igor.dvlpr/keppo)

> _🎡 Parse, manage, compare and output SemVer-compatible version numbers. 🛡_


[@igor.dvlpr/str-is-in](https://www.npmjs.com/package/@igor.dvlpr/str-is-in)

> _🧵 Provides ways of checking whether a String is present in an Array of Strings using custom Comparators. 🔍_


[@igor.dvlpr/encode-entities](https://www.npmjs.com/package/@igor.dvlpr/encode-entities)

> _🏃‍♂️ Fast and simple Map and RegExp based HTML entities encoder. 🍁_


[@igor.dvlpr/unc-path](https://www.npmjs.com/package/@igor.dvlpr/unc-path)

> _🥽 Provides ways of parsing UNC paths and checking whether they are valid. 🎱_


[@igor.dvlpr/strip-html](https://www.npmjs.com/package/@igor.dvlpr/strip-html)

> _🥞 Removes HTML code from the given string. Can even extract text-only from the given an HTML string. ✨_
---


### 👨🏻‍💻 Author
Created by **Igor Dimitrijević** ([*@igorskyflyer*](https://github.com/igorskyflyer/)).