InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises. Learn more →
Pg-mem Alternatives
Similar projects and alternatives to pg-mem
-
-
maplibre-gl-js
The open-source fork of Mapbox GL JS: Interactive maps in the browser, powered by vector tiles and WebGL.
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
Lowdb
Simple to use local JSON database. Use native JavaScript API to query. Written in TypeScript. (supports Node, Electron and the browser)
-
typescript-clean-architecture
It is my attempt to create Clean Architecture based application in TypeScript.
-
-
vscode-mocha-hmr-sample
Demonstrates how to use HMR support in vscode mocha explorer
-
mapbox-gl-js
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
hardhat-gas-reporter
Gas usage per unit test. Average gas usage per method. (eth-gas-reporter for Hardhat)
-
-
-
Finale
Create flexible REST endpoints and controllers from Sequelize models in your Express app
-
Joplin
Joplin - an open source note taking and to-do application with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
-
-
sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL. (by launchbadge)
-
Oat++
🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.
-
-
sqlfluff
A modular SQL linter and auto-formatter with support for multiple dialects and templated code.
-
-
thegreatsuspender
A chrome extension for suspending all tabs to free up memory
-
mongodb-memory-server
Spinning up mongod in memory for fast tests. If you run tests in parallel this lib helps to spin up dedicated mongodb servers for every test file in MacOS, *nix, Windows or CI environments (in most cases with zero-config).
-
Sonar
Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
pg-mem reviews and mentions
-
Ask HN: How do you test SQL?
I was wondering the other day how to classify tests that use a test double like pg-mem, which isn't a mock but isn't the Dockerized test DB either :
So I'm not an expert, but for simplistic use cases I merely make use of https://github.com/oguimbal/pg-mem
It's a lot faster and easier than dealing with containers and the like.
-
How to test nestjs modules?
In my case, I use TypeORM with PostgreSQL, and there's pg-mem to run an instance in memory, it supports most of the common functionality of PostgreSQL but you will need to do some adjustment to your code to be within the limits.
-
Ask HN: What Are You Working On?
A pure Javascript in memory emulation of Posgres, to help writing better node tests https://github.com/oguimbal/pg-mem
-
pg-mem, an in memory postgres DB instance for your unit tests, is now bound to multiple libraries (Knex, Typeorm, Slonik, pg, pg-promise) ... suggestions for the next one ?
I've created an issue if you wish to track that.
Okay, I had a bit of spare time,I've implemented that, and it is now available with [email protected]
See documentation ("inspect a table" and "manually insert items" sections)
-
Zero delay development & unit testing iterations
To get a glimpse of what I'm talking about, you can clone this repo and follow "Development" instructions (by the way this is a small OS lib I maintain, I wrote about it here)
-
A note from our sponsor - InfluxDB
www.influxdata.com | 1 Feb 2023
Stats
oguimbal/pg-mem is an open source project licensed under MIT License which is an OSI approved license.