ydb-sdk-lite v2.1.0 is a lightweight alternative to the official YDB Node.js SDK, optimized for low require time (~100ms vs 300ms) and small size (~5MB vs 40MB). Developed by Vitaliy Potapov, it supports DDL queries, automatic parameter type inference, and is designed for serverless environments. It currently only supports primitive types. The package ships TypeScript definitions and is released as needed.
npm install ydb-sdk-liteVerified import paths — ran on the pinned version, not inferred.
Creates a Ydb client, runs a parameterized query and a DDL statement.
Use only columns with primitive types or fall back to official ydb-sdk for complex types.
Use executeYql for DDL queries like CREATE TABLE, DROP TABLE, etc.
If you need full YDB feature set, use the official ydb-sdk package.
Use const { Ydb } = require('ydb-sdk-lite') or import { Ydb } from 'ydb-sdk-lite' and then new Ydb(...).Only use primitive types; avoid Optional, List, Dict, etc., or switch to official ydb-sdk.
Run npm install ydb-sdk-lite and ensure import path is correct.
No dependency data recorded yet.