Skip to content

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

License

Notifications You must be signed in to change notification settings

igorskyflyer/npm-duoscribi

Repository files navigation

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

Install it by executing:

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 file.


✨ Examples

example.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.


🪪 License

Licensed under the MIT license which is available here, MIT license.


🧬 Related

@igor.dvlpr/keppo

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


@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

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


@igor.dvlpr/unc-path

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


@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).