Current collected state Current
Observed since 20 Oct, 21:53 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
PGlite Dialect for Knex
Since PGlite is single user and only supports a single connection, this library doesn't allow users to configure
the connection pool in the Knex.Config.
Internally, the pool is set to { min: 1, max: 1 }, i.e. there is exactly one connection at a time.
npm install knex-pglite
import { knex } from "@000alen/knex";
import ClientPgLite from "knex-pglite";
const instance = knex({
client: ClientPgLite,
dialect: "postgres",
// Use an empty object to use an in memory db
connection: {},
// OR provide own PGLite instance
// connection: { pglite: new PGLite() },
// OR use the filesystem:
// connection: { filename: 'path/to/my-pgdata' },
// OR use indexdb:
// connection: { connectionString: 'idb://my-pgdata' },
});
Mostly based on the build-in knex Postgres/Sqlite dialects.
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:53 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0124809e9490c5848ea47546c3d7f1663e83c80483c46f05e534aba7838fc243