Greasy Fork is available in English.

console.save

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

Auteur
Frederick Wang
Nombre d'installations quotidiennes
0
Nombre d'installations
46
Évaluations
1 0 0
Version
0.2.0
Créer
2018-09-01
Mis à jour
2020-08-12
Size
1,22 ko
Licence
S/O
S'applique à
Tous les sites

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