tessl install tessl/npm-store@2.0.0A localStorage wrapper for all browsers without using cookies or flash, providing persistent client-side storage with automatic fallback and plugin architecture
Agent Success
Agent success rate when using this tile
75%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.96x
Baseline
Agent success rate without this tile
78%
Build a settings manager that works reliably across different browser environments, including those with storage limitations or restrictions.
Your settings manager should:
@generates
/**
* Creates a settings manager with automatic storage fallback
*
* @returns {Object} Settings manager instance with the following methods:
* - get(key, defaultValue): Retrieve a setting value
* - set(key, value): Store a setting value
* - isEnabled(): Returns true if persistent storage is available
*/
function createSettingsManager() {
// IMPLEMENTATION HERE
}
module.exports = { createSettingsManager };Provides cross-browser storage with automatic fallback mechanisms.