refactor: replace Bun APIs with Node.js equivalents

Replace Bun.argv with process.argv, Bun.file() with fs/promises,
Bun.stringWidth with string-width package, and Bun.wrapAnsi with
wrap-ansi package for better compatibility.
This commit is contained in:
mitchell 2026-05-25 23:13:16 -04:00
parent b212fee200
commit 0c71e2cd54
7 changed files with 39 additions and 18 deletions

View file

@ -37,6 +37,8 @@
"happy-dom-without-node": "^14.12.3",
"marked": "^18.0.4",
"shiki": "^4.0.2",
"terminal-link": "^5.0.0"
"string-width": "^8.2.1",
"terminal-link": "^5.0.0",
"wrap-ansi": "^10.0.0"
}
}