svg-file-downloader
v0.0.2
Published
Javascript function that triggers browser to save javascript-generated content to an svg file
Downloads
15
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 --saveUsage
var fileDownload = require('svg-file-downloader');
fileDownload(data, false, 'somefile.svg');