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.22KB
라이선스
해당 없음
적용 사이트
모든 사이트

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

长期地址
遇到问题?请前往 GitHub 提 Issues。