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. 🤓
- Host: GitHub
- URL: https://github.com/igorskyflyer/npm-duoscribi
- Owner: igorskyflyer
- License: mit
- Created: 2023-04-09T17:01:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-28T14:59:13.000Z (10 months ago)
- Last Synced: 2025-03-18T09:01:52.384Z (2 months ago)
- Topics: accent, ascii, back-end, biome, converter, diacritics, diacritics-removal, diacritization, duoscribi, igorskyflyer, javascript, js, language, node, npm, text, typescript, unicode, vitest
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@igor.dvlpr/duoscribi
- Size: 97.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Support: SUPPORTED_CHARS.md
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! 🙏😊
![]()
@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/)).