TypeScript Database Tools

Open-source TypeScript projects categorized as Database Tools
Topics: Postgres SQL WASM

TypeScript Database Tool Projects

  • pglite

    Lightweight Postgres packaged as WASM into a TypeScript library for the browser, Node.js, Bun and Deno

  • Project mention: Show HN: I open-sourced the in-memory PostgreSQL I built at work for E2E tests | news.ycombinator.com | 2024-04-07

    Hey HN! For a few months, I've been building pgmock at work for our E2E and unit test suite. It emulates Postgres in WebAssembly and has full feature parity with production databases.

    The cool thing about it is that you don't need any external processes or proxies. If your platform can run WASM (Node.js, browser, etc.), it can probably run pgmock. Creating a new database with mock data is as simple as creating a JavaScript object.

    It's a bit different from the amazing pglite [1] (which inspired me to open-source pgmock in the first place). While pgmock runs an x86 emulator, pglite compiles a Postgres fork to native WASM directly and is hence much faster and more lightweight. However, it only supports single-user mode and a select few extensions, so you can't connect to it with normal Postgres clients (which is quite crucial for E2E testing).

    Theoretically, it could be modified to run any Docker image on WebAssembly platforms. Anything specific you'd like to see?

    Happy hacking!

    [1] https://github.com/electric-sql/pglite

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript Database Tools related posts

  • Is there a linter for non-backwards-compatible DB migrations?

    2 projects | /r/PostgreSQL | 19 Dec 2022

Index

Project Stars
1 pglite 4,471

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com