Normalize character order and remove excessive characters. ported from th_normalize in Libthai project to Coffeescirpt. It's help to solve user input with incorrect character order such as
มั้ง (ม + -ั + -้ + ง) and
ม้ัง (ม + -้ + -ั + ง) is same in Thai language but isn't look same in computer.
ThaiSwap is available in NPM by using command
npm install thaiswap
ThaiSwap is compatible with Browser and CommonJS
var ThaiSwap = ;var a = "มั้ง";var b = "ม้ัง";a = ;b = ;ifa == bconsole;
Pakkapon Phongthawee (firstname.lastname@example.org)