EntGamers Database (v0.0.27) is a lightweight library for unifying sessions and database management across EntGamers projects. It provides a consistent API for connection handling, session storage, and basic CRUD operations, with TypeScript support. Intended for internal use within the EntGamers ecosystem, it wraps common database drivers and session stores into a single abstraction. The library is in early active development (pre-1.0), with frequent updates. Differentiators include seamless integration with EntGamers-specific project patterns and a minimal footprint.
npm install entgamers-databaseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to a database, creates a session, saves it, and disconnects using the unified API.
Pin version and review changelog before upgrading.
Always await db.connect() before creating Session instances.
Check source for additional config properties or use raw driver if needed.
Import all from 'entgamers-database' directly.
Ensure config object is complete and db.connect() is awaited before operations.
Install with npm/pnpm/yarn and ensure package.json includes 'entgamers-database' in dependencies.
Update library to latest version; if persists, use type assertion: (session as any).save().