Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release @electric-sql/pg-protocol to npm #293

Open
Newbie012 opened this issue Sep 4, 2024 · 0 comments
Open

release @electric-sql/pg-protocol to npm #293

Newbie012 opened this issue Sep 4, 2024 · 0 comments

Comments

@Newbie012
Copy link

Newbie012 commented Sep 4, 2024

It would be awesome if you could release the package pg-protocol to npm. This is my use case:

import { PGlite } from '@electric-sql/pglite';
import { serialize } from "@electric-sql/pg-protocol";

const db = new PGlite();

const name = "prepared-foo";
const text = "select * from tbl";

const parsed = await db.execProtocol(serialize.parse({ name, text }))
const described = await db.execProtocol(serialize.describe({ name, type: "S" }))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant