transdiacritics

Converts diacritics to their ASCII equivalent

Usage no npm install needed!

<script type="module">
  import transdiacritics from 'https://cdn.skypack.dev/transdiacritics';
</script>

README

Transdiacritics

NPM version Downloads Rate on Openbase

Javascript library that converts diacritics to their ASCII equivalent.

Requirements

It runs inside any webbrowser or NodeJS environment.

It has zero dependencies on other modules.

Reference documentation

  • Transdiacritics.toascii(string)
    Replace all diacritics in string by their ASCII equivalent and return the result.

References

Card-carrying member of the zerodeps movement.