Skip to content
Diacritic javascript module for cleaning or stripping a string of accents and replacing them with an equivalent.
JavaScript
Find file
Latest commit 901ba2c @nijikokun Merge pull request #1 from marob/master
Case-related bugfix
Failed to load latest commit information.
LICENSE Initial commit
README.md Update with example
bower.json Update for version 0.0.3
diacritics.js re-release
package.json Update for version 0.0.3

README.md

Diacritics.js

Diacritic javascript module for cleaning or stripping a string of accents and replacing them with an equivalent.

Node Installation

$ npm install diacritic

Bower Installation

$ bower install diacritic

Usage

var Diacritics = require('diacritic');

// Internationalization
console.log(Diacritics.clean("Iлtèrnåtïonɑlíƶatï߀ԉ"));
Something went wrong with that request. Please try again.