GitShow/sindresorhus/transliterate
sindresorhus

transliterate

Convert Unicode characters to Latin characters using transliteration

by sindresorhus
deburrlatinizationnode-modulenpm-packagestring-conversiontransliterationunicodeunicode-converter
Star on GitHubForknpm

JavaScript

316 stars25 forks9 contributorsQuiet · 5mo agoSince 2020v2.3.1MIT

Meet the team

See all 9 on GitHub →
sindresorhus
sindresorhus29 contributions
Richienb
Richienb3 contributions
AlexxNB
AlexxNB1 contribution
yhdgms1
yhdgms11 contribution
dersimoezdag
dersimoezdag1 contribution
hay
hay1 contribution
rhnorskov
rhnorskov1 contribution
silvandiepen
silvandiepen1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 5mo ago
See all on GitHub →
tutkun
Update Turkish charsOpenPR

This is updating some Turkish chars.

tutkun · 4mo ago

Recent fixes

View closed PRs →
samimaat
Update list of supported languages to reflect which replacements are disabled by defaultClosedIssue

I wanted to use Swedish replacements (actually Finnish, but for my purposes they are the same thing) and struggled for awhile, because I couldn't understand how to get them to work. In the end I commented out Latin and English, which conflicted with Swedish/Finnish. If this is the intended way to change the transliteration, I would suggest adding "disabled (commented out) by default in " to the supported languages list in the readme. I could do this if the issue is this straightforward.

samimaat · 5mo ago
MartinKolarik
Poor performance with non-default optionsClosedIssue

#40 was a valid recommendation, but unfortunately, it only works if all used patterns can be cached. The current implementation from 268a2cd9fa0566caed6bdfa5ba5512f41180ebfe makes the default case faster, but as soon as the or are passed, it's much slower than the previous version (it doubled the CPU usage of the service where we use this package). This can be checked easily by adding e.g. to the existing test, which makes it about 5x slower: Alternatively, to avoid breaking changes, the original approach could be used in case custom options are passed.

MartinKolarik · 5mo ago
punkpeye
Poor performanceClosedIssue

688,457 ops/s 15,062 ops/s Not sure how these two libraries are implemented differently, but the performance of is quite terrible and gets _a lot_ worse as the string size increases.

punkpeye · 6mo ago
Structured data for AI agents

Repository: sindresorhus/transliterate. Description: Convert Unicode characters to Latin characters using transliteration Stars: 316, Forks: 25. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Topics: deburr, latinization, node-module, npm-package, string-conversion, transliteration, unicode, unicode-converter. Latest release: v2.3.1 (5mo ago). Open PRs: 1, open issues: 1. Last activity: 5mo ago. Community health: 85%. Top contributors: sindresorhus, Richienb, AlexxNB, yhdgms1, dersimoezdag, hay, rhnorskov, silvandiepen, vhpoet.

·@ofershap

Replace github.com with gitshow.dev