An alternative to the synchronous Settings API to work around storage limitations of localStorage and allow storing of arbitrarily large data in form of most Javascript DataTypes, see https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm#supported_types