svg-file-downloader
v0.0.2
Published
Javascript function that triggers browser to save javascript-generated content to an svg file
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');