undress provides a function which replaces accented unicode characters with their ASCII equivalents. Unicode characters without a clear ASCII representation (such as ) will be ignored.
require('undress')('éäçñÜæ'); // -> 'eacnUae'
npm install undress
Public domain.