/accent-fold

Case-insensitive accent folding function to replace an accented character with its unaccented counterpart.

Primary LanguageHTML

accentFold

Case-insensitive accent folding function to replace an accented character with its unaccented counterpart.

Installation

Install via npm:

$ npm i accent-fold --save

Usage

var fold = require('accent-fold');

console.log(fold('naïve')); // ... 'naive'