console.save

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

目前為 2020-08-12 提交的版本,檢視 最新版本

作者
Frederick Wang
評價
0 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. Filename is optional, defaults to ‘console.json’.

In addition, data also can be a blob.

Licence

MIT