This is a VS Code extension that will allow your Twitch chat to highlight a line of code via a command message. Example: `!line 8 server.js`. See master branch README.md for more details
@reillydom from Twitch chat, also mentioned doing performance testing based on the specific application because it's a case by case basis on which is the better performing approach.
Investigate If Statement vs Switch better for performancee
https://stackoverflow.com/questions/94305/what-is-quicker-switch-on-string-or-elseif-on-type