DEV Community

mayank kushwah
mayank kushwah

Posted on Edited on AI-assisted

New Package Release

Hey everyone!

I've been independently working on a TypeScript PostgreSQL database package called @oneunit/database, and I'm now preparing it for its first external release candidate.

The goal is to provide more than just a database query interface. It includes:
PostgreSQL query and model APIs
Connection pooling and transaction management
Schema and migration management
Multiple database sharding strategies
Distributed transactions (Two-Phase Commit)
Shard management and online resharding
Recovery mechanisms, health checks, and metrics

I've already completed extensive internal testing, including tests with multiple independent PostgreSQL instances and distributed transaction crash recovery.

Now I'd like to get feedback from developers who have experience with Node.js, TypeScript, or PostgreSQL.

I'm particularly interested in feedback about:
Installation and setup experience
API design and developer experience
Documentation clarity
Real-world integration issues
Bugs, unexpected behavior, and compatibility problems

I'm building this project independently, so getting feedback from other developers would mean a lot and help me improve the package before its stable release.

You don't need to contribute code. Simply trying it out and sharing your experience would be extremely helpful.

Package: @oneunit/database

GitHub: https://github.com/oneunitjs/database

Documentation: https://github.com/oneunitjs/database/blob/main/ARCHITECTURE.md

This is an early release candidate, so it's not being presented as production-ready yet.

Thanks to anyone willing to take a look or share feedback!

Top comments (0)