How can I create a file for storage on the client side with JavaScript?

前端 未结 7 773
独厮守ぢ
独厮守ぢ 2020-12-03 18:35

I need to create a temporary file to store user settings on the client side. Is it possible to create a simple log file using JavaScript?

相关标签:
7条回答
  • 2020-12-03 19:19

    A library that lets you create a plain text file (or an image file or a rich text file) on the client-side for download is FileSaver.js.

    0 讨论(0)
提交回复
热议问题