@blacklake-kodo/plugin-file-save
v0.1.4
Published
kodo plugin
Downloads
11
Readme
@blacklake-kodo/plugin-file-save
Install
Using npm:
$ npm install --save-dev @blacklake-kodo/plugin-file-save
or using yarn:
$ yarn add @blacklake-kodo/plugin-file-save --dev
use
import { FileSave } from "umi";
let blob = new Blob(["Hello,world!"])
FileSaver(blob,"hello world")
or
FileSaver("https://XXX.png","image.png")