2.1.0 • Published 12 months ago

@igor.dvlpr/duoscribi v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

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