
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@gftdcojp/gftd-ksqldb-orm
Advanced tools
ksqlDB ORM - TypeScript ORM for ksqlDB with schema registry support
Enterprise-grade ksqlDB ORM with TypeScript support, schema registry integration, and advanced features.
pnpm add @gftdcojp/gftd-ksqldb-orm
This package supports both Browser and Server environments with optimized entry points:
// Optimized for browser - excludes Node.js specific features
import { KsqlDbClientBrowser, executeQuery } from '@gftdcojp/gftd-ksqldb-orm/browser';
// Full feature set including file operations and CLI tools
import { KsqlDbClientBrowser, TypeGenerator, AuditLogManager } from '@gftdcojp/gftd-ksqldb-orm/server';
// Automatically detects environment and provides safe features
import { KsqlDbClientBrowser, executeQuery } from '@gftdcojp/gftd-ksqldb-orm';
The package includes comprehensive tests for both browser and server environments:
# Run all tests
pnpm test
# Run with coverage
pnpm run test:coverage
# Run in watch mode
pnpm run test:watch
# Run Next.js specific tests
pnpm run test:nextjs-client
pnpm run test:nextjs-server
# Run integration tests
pnpm run test:integration
The current test suite achieves 44.47% code coverage, with comprehensive testing of:
import {
initializeKsqlDbClient,
executePullQuery,
executeQuery
} from '@gftdcojp/gftd-ksqldb-orm';
// Initialize ksqlDB client
initializeKsqlDbClient({
url: 'http://localhost:8088',
apiKey: 'your-api-key',
apiSecret: 'your-api-secret'
});
// Execute a pull query
const result = await executePullQuery(
'SELECT * FROM users_table WHERE id = 1;'
);
// Execute a DDL statement
await executeQuery(
'CREATE STREAM users_stream (id INT, name VARCHAR) WITH (kafka_topic=\'users\', value_format=\'JSON\');'
);
import {
initializeKsqlDbClient,
executeQuery,
executePullQuery,
executePushQuery,
executeDDL
} from '@gftdcojp/gftd-ksqldb-orm';
import {
generateTypesForTables,
listAllTables,
getTableSchema
} from '@gftdcojp/gftd-ksqldb-orm/type-generator';
import {
initializeSchemaRegistryClient,
registerSchema,
getLatestSchema
} from '@gftdcojp/gftd-ksqldb-orm/schema-registry';
import {
RLSManager,
PolicyType
} from '@gftdcojp/gftd-ksqldb-orm/row-level-security';
# Generate types for all tables
npx gftd-ksqldb-orm generate-all --output ./types
# Generate types for specific table
npx gftd-ksqldb-orm generate-types --table users_table --output ./types
# List all tables and streams
npx gftd-ksqldb-orm list
GFTD_DB_URL=http://localhost:8088
GFTD_DB_API_KEY=your-api-key
GFTD_DB_API_SECRET=your-api-secret
GFTD_SCHEMA_REGISTRY_URL=http://localhost:8081
import { KsqlDbConfig } from '@gftdcojp/gftd-ksqldb-orm';
const config: KsqlDbConfig = {
url: 'http://localhost:8088',
apiKey: 'your-api-key',
apiSecret: 'your-api-secret',
headers: {
'Custom-Header': 'value'
}
};
SEE LICENSE IN LICENSE
Please read our contributing guidelines before submitting pull requests.
FAQs
ksqlDB ORM - TypeScript ORM for ksqlDB with schema registry support
We found that @gftdcojp/gftd-ksqldb-orm 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.