@shinshin86/local-storage-mock (npm): This is the mock of localStorage. The behavior is not perfectly reproduced (*), but the basic logic is implemented. * The value returned when an unintended value is passed, for example.
Keywords: localstorage|sessionstorage|mock|test|typescript