@tryghost/database-info
v2.2.0
Published
`@tryghost/database-info` is a small utility for `knex` that returns information on the underlying DB connection.
Maintainers
Keywords
Readme
Database Info
@tryghost/database-info is a small utility for knex that returns information on the underlying DB connection.
It currently works with SQLite, MySQL 5 & 8, and MariaDB.
Install
npm install @tryghost/database-info --save
or
pnpm add @tryghost/database-info
Purpose
Utility for detecting database driver, engine family, and version from a Knex connection.
Usage
Develop
This is a mono repository, managed with Nx.
Follow the instructions for the top-level repo.
git clonethis repo &cdinto it as usual- Run
pnpm installto install top-level dependencies.
Run
pnpm dev
Test
pnpm lintruns oxlintpnpm testruns lint and tests
Copyright & License
Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.
