A simple JSON file-based storage module for workshopper-adventure, used to persist user preferences and progress. Version 3.0.1 is the latest release, with low release cadence (last updated in 2016). It provides save, get, and reset methods for managing a directory of JSON files. Differentiator: lightweight and focused on the workshopper ecosystem, avoiding the complexity of full database solutions.
npm install workshopper-adventure-storageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes storage in a user-specific directory, saves progress JSON, retrieves it, and resets the storage.
Check file existence manually before saving if needed.
Always check for null after calling storage.get.
Use in small directories; consider using async alternatives for large data.
Use const createStorage = require('workshopper-adventure-storage') and ensure package is installed.Ensure parent directories exist before calling createStorage.
No dependency data recorded yet.