If you want to display just html, css, images just use any templating lang like ejs
, pug
and if just want the user to download them when visit just add them to archive you can simply use something like JSZip
any other lib to make you archive then add required headers like content-disposition and others to make user download it