My Unix philosophy to showing people what a web-based 'ls' command looks like is this:
$ import fs && import util && comstr --nowrap ls | pretty | less
(Works here: https://dev.lotw.xyz/shell.os)