npm install html-ls

pretty print directory list in html
``js
var htmlls = require("html-ls")
htmlls("/var/www").pipe(process.stdout)
`
the optional second argument can contain an options object looking something
like this (with defaults noted):
`js..
{
hideDot: false // hide dotfiles from list
, showUp: false // show at the top``
, dirsFirst: false // put dirs at the top of the list, then files
, parentTag: 'ul' // opening tag for list
, childTag: 'li' // child element tag
, transformHref: str => str // function to transform href values
, transformLinkText: str => str // function to transform link text
}
MIT