There are many programs used for this purpose but why bother download, install and learn it first when you can just add your code to our online viewer and check. If not specified the function will return a Buffer instead of a string. Each file is archived and compressed separately…