remove diacritics from strings ("ascii folding") - Node.js module
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

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"