Ezseed database handler for the ezseed BitTorrent seedbox platform. Provides database abstraction and query building for tracking torrents, users, and settings. Version 1.0.6 is the latest stable release. The package uses a migration-based schema and supports SQLite and MySQL. Key differentiators include integration with the ezseed ecosystem and a simple, unopinionated API. Release cadence is sporadic; latest version is from 2015 and the project appears unmaintained.
npm install ezseed-databaseVerified import paths — ran on the pinned version, not inferred.
Initializes SQLite database and inserts a torrent record using the ezseed-database handler.
Ensure 'client' is exactly 'mysql' or 'sqlite3'.
Replace paths.getAll with paths.get or check version and use appropriate method.
Review GPL3 compliance; if needed, use prior version under MIT.
Ensure database is empty or match migration expectations, or handle migration errors.
Run 'npm install ezseed-database' or add to package.json.
Install the required driver: 'npm install mysql' or 'npm install sqlite3'.
Use 'const Database = require('ezseed-database')' not 'import { Database } from ...'.