1.0.0 • Published 7 years ago

jdu v1.0.0

Weekly downloads
66
License
Apache-2.0
Repository
github
Last release
7 years ago

javascript-diacritics-utility (JDU)

Overview

Javascript Utility to test for and remove accents/diacritics in strings

Getting started

Download

  • Download from github.
  • install from bower: bower i jdu
  • install from npm: npm i jdu

Install from bower

bower install jdu

Load Script

Load the script file: remove-diacritics.js in your application:

<script type="text/javascript" src="bower_components/jdu/jdu.js"></script>

Code

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");