Case-insensitive accent folding function to replace an accented character with its unaccented counterpart.
npm install accent-fold``sh`
$ npm i accent-fold --save
javascript
var fold = require('accent-fold');console.log(fold('naïve')); // ... 'naive'
``