How to use the file-saver/dist/FileSaver.min.js.saveAs function in file-saver

To help you get started, we’ve selected a few file-saver 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 ccxcxd / GFDB-Web / src / services / map.js View on Github external
this.tmpCanvas.toBlob((blob) => {
      saveAs(blob, `${name}.png`);
      this.tmpCanvas.height = 0;
    }, "image/png");


An HTML5 saveAs() FileSaver implementation

Latest version published 3 years ago

Package Health Score

77 / 100
Full package analysis