svg-file-downloader
v0.0.2
Published
Javascript function that triggers browser to save javascript-generated content to an svg file
Downloads
10
Readme
Javascript File Download
Javascript function to trigger browser to save data to file as if it was downloaded.
Installation
npm install svg-file-downloader --save
Usage
var fileDownload = require('svg-file-downloader');
fileDownload(data, false, 'somefile.svg');