A small module for converting vietnamese string to tonemarkless vietnamese. For searching purpose in mongodb ,you should made a new Fields and save tonemarkless string in there.
npm install vietnamese-tonemarkless
const removeMark = require("vietnamese-tonemarkless");
let str = removeMark("Hoàng xa,Trường xa là của Việt Nam");
console.log(str);
//hoang xa,truong xa la cua viet nam
//certainly
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.