Total.js platform
Total.js platform

JavaScript platform for everyone

How to create a ZIP archive in Total.js?

How to create a ZIP archive in Total.js?

  • check if the following command works in your OS $ zip --version
  • this example uses operations which are supported in Total.js +v2.4.0

Create an operation

E.g. /definitions/operations.js:

Usage

You can execute the below code anywhere in your Total.js application: