0.0.2 • Published 4 years ago
svg-file-downloader v0.0.2
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');