remove diacritics from strings ("ascii folding") - Node.js module
JavaScript
Latest commit a58b04d Jan 12, 2017 @andrewrk Release 1.3.0

README.md

node-diacritics

remove diacritics from strings

useful when implementing some kind of search or filter functionality.

Installation

$ npm install diacritics

API

var removeDiacritics = require('diacritics').remove;
console.log(removeDiacritics("Iлtèrnåtïonɑlíƶatï߀ԉ"));
// prints "Internationalizati0n"