I am writing a package which includes options a use time. I am not talking about long term settings, which you might set up in package settings, but options which might change every time you use it.
Currently many functions use the Modal Panel to get additional user options. I would like to store these settings so that they become the default for next time.
How can I store values from within a package? I would need to use these values:
- between successive calls to the package
- when Atom is restarted
In a web page, these would be
localStorage, but I don’t know about here.