Skip to content

mk7upurz87/jdu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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