How to use the adm-zip/util/constants.js.STORED function in adm-zip

To help you get started, we’ve selected a few adm-zip examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github imlucas / lone / embed / admzip.js View on Github external
methodToString: function(method) {
                    switch (method) {
                      case Constants.STORED:
                        return "STORED (" + method + ")";
                      case Constants.DEFLATED:
                        return "DEFLATED (" + method + ")";
                      default:
                        return "UNSUPPORTED (" + method + ")";
                    }
                },
                writeFileTo: function(path, content, overwrite, attr) {