Share your code.
This package has been deprecated
This is an old project...
Arbitrary game data management using localStorage.
npm install properjs-gamestate --save-dev
GameState will utilize localStorage. So, quest state is persisted and it will try to load from storage on initialization.
var GameState = ;var gameState = ;// Set initial game stategameState;// Set state as you gogameState;// Set a deep state valuegameState;// AlsogameState;gameState;gameState;// Manually save to localStorage// GameState does this for you though as you gogameState;