scroll-into-view-if-needed
Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center
istextorbinary
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
ts-if
Typescript if-else support at the type level