Javascript Utility to test for and remove accents/diacritics in strings
- Download from github.
- install from bower: bower i jdu
- install from npm: npm i jdu
bower install jdu
Load the script file: remove-diacritics.js
in your application:
<script type="text/javascript" src="bower_components/jdu/jdu.js"></script>
Use JDU in your application to create the object:
window.jdu.replace("some string with diacritics");
or with require
var jdu = require('jdu');
jdu.replace("some string with diacritics");