SessionType

SessionType

Interface for data stored in user sessions.

I really wish Express.Session was generic, but seeing as it isn't I've created some utility functions in this module to assert whether a session is assigned and to assign a new session.

Source: