
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@qbobjx/plugins
Advanced tools
Official OBJX plugins, including timestamps, snake case naming, soft delete, tenant scope, and audit trail.
Official OBJX plugins, including timestamps, snake case naming, soft delete, tenant scope, and audit trail.
npm install @qbobjx/plugins
import { col, defineModel } from '@qbobjx/core';
import {
createSnakeCaseNamingPlugin,
createSoftDeletePlugin,
createTenantScopePlugin,
} from '@qbobjx/plugins';
export const Account = defineModel({
table: 'accounts',
columns: {
id: col.int().primary(),
tenantId: col.text(),
deletedAt: col.timestamp().nullable(),
},
plugins: [
createSnakeCaseNamingPlugin(),
createTenantScopePlugin(),
createSoftDeletePlugin(),
],
});
createTimestampsPlugin()createSnakeCaseNamingPlugin()createSoftDeletePlugin()createTenantScopePlugin()createAuditTrailPlugin()Use createSnakeCaseNamingPlugin() when your model keys are camelCase but your physical database columns are snake_case.
import { col, defineModel } from '@qbobjx/core';
import { createSnakeCaseNamingPlugin } from '@qbobjx/plugins';
export const Account = defineModel({
table: 'accounts',
columns: {
id: col.int().primary(),
tenantId: col.text(),
createdAt: col.timestamp(),
},
plugins: [
createSnakeCaseNamingPlugin({
exclude: ['id'],
overrides: {
createdAt: 'created_on',
},
}),
],
});
The compiler emits physical names like tenant_id, while hydrated rows continue to use model keys like tenantId.
Important: this plugin should be attached at model definition time. It updates column metadata in
the onModelDefine hook, so adding it only as a session-global plugin is too late for remapping.
Repository examples using this pattern:
examples/complex-runtimeexamples/express-apiexamples/nestjs-apiFAQs
Official OBJX plugins, including timestamps, snake case naming, soft delete, tenant scope, and audit trail.
The npm package @qbobjx/plugins receives a total of 266 weekly downloads. As such, @qbobjx/plugins popularity was classified as not popular.
We found that @qbobjx/plugins demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.