Any plugin to correct or delete one of two close but reverse nodes

I have to enlarge the font many times to find it. It’s very tiny, and will cause duplicate error or render problem.
Maybe in the plugin, we can set px value to delete too close one.

Solved, found “delete short segments” plugin.
Script under mekkablue does not work, while this plugin works.