import*aszipfrom'zip'import*asbufferfrom'buffer'import*astextfrom'text';letbytes = text.bytes('I want to be binary');letbuff = buffer.from("some data");letfileMap = {"/testdir/test.txt":"this is the data in test.txt","/testdir/demo/bytes.txt":bytes,"/testdir/demo/buff.txt":buff.bytes(), }letstrm = zip.compression(fileMap);