@electric-sql/pglite
v0.2.0-alpha.5 postgres sql database wasm client pglite
dev
concurrently "tsup --watch" "sleep 1 && tsx scripts/bundle-wasm.ts" "pnpm dev-server"
test
rm -rf ./pgdata-test && concurrently -s first --hide 1 --prefix none -k "sleep 2 && ava tests/*.test.js tests/**/*.test.js" "npx http-server --port 3334 ./"
build
npm run build:js
format
prettier --write ./src
build:js
tsup && tsx scripts/bundle-wasm.ts
test:bun
rm -rf ./pgdata-test && npx bun test tests/basic.test.js && npx bun test tests/pgvector.test.js && npx bun test tests/targets/node-fs.test.js
dev-server
pnpm http-server ../
test:quick
rm -rf ./pgdata-bun-test && ava tests/*.test.js tests/target/node-*.test.js
npm i @electric-sql/[email protected]
Metadata
- Apache-2.0
- Whatever
- Electric DB Limited
- released 8/1/2024