Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

diacriticless

g-pb18.2kMIT1.0.1

Module to remove all diacritics from a text.

diacritic, accent, string

readme

Diacriticless

Removes all diacritics from a text.

Installation

npm install diacriticless

Documentation

diacriticless(text)
  • text String
  • returns String

Usage

var diacriticLess = require('diacriticless');

console.log(diacriticLess('Ɲö dÍãçȑĩŧiC'));

This will print the following

No dIacritiC

License

MIT