console.save

A simple way to save objects as .json files or to save blobs as files from the console.

作者
Frederick Wang
今日安裝
0
安裝總數
46
評價
1 0 0
版本
0.2.0
建立日期
2018-09-01
更新日期
2020-08-12
尺寸
1.2 KB
授權條款
未知
腳本執行於
所有網站

console-save.js

A simple way to save objects as .json files or to save blobs as files from the console.

Usage

console.save(data, filename)

Data can be a string or just an object, objects are passed through json.stringify() before writing to file.

In addition, data also can be a blob.

Licence

MIT