normalize-path
Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
@toolsycc/json-repair
A robust utility to repair JSON strings - fix malformed or broken JSON, especially from LLM output like ChatGPT.