@the-horizon-dev/fast-diacritics
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

fast-diacritics

A high-performance TypeScript library for handling diacritical marks in strings.

Features

Fast & Efficient - Optimized for performance
🎯 Type-Safe - Written in TypeScript with full type definitions
🔧 Zero Dependencies - No external runtime dependencies
🛡️ Robust - Comprehensive error handling and edge case coverage
📦 Lightweight - Small bundle size

Installation

To install the library, use npm:

npm install @the-horizon-dev/fast-diacritics

Usage

To use the Diacritics library, import the Diacritics class and call the remove method:

import { Diacritics } from '@the-horizon-dev/fast-diacritics';

const stringWithDiacritics = "Café";
const stringWithoutDiacritics = Diacritics.remove(stringWithDiacritics);

console.log(stringWithoutDiacritics); // Output: Cafe

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i @the-horizon-dev/fast-diacritics

Weekly Downloads

5

Version

1.0.9

License

MIT

Unpacked Size

35.7 kB

Total Files

17

Last publish

Collaborators

  • maximilianoneto