JV NoORM is a lightweight database access library for MariaDB and PostgreSQL that lets you write raw SQL queries without the overhead of an ORM. It provides a thin abstraction over mysql2 and pg, offering connection pooling, transaction control, and a built-in migration system with script execution. The package includes CLI tools for generating TypeScript interfaces from your database schema. Current stable version is 0.0.63, experimental and released as needed. It differentiates from ORMs by giving developers full control over query performance and SQL syntax, while still providing convenient helpers for migrations and schema generation. Supports ESM only, requires Node.js 16+.
npm install jv-noormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a migration script and deploy it to the database.
Use import syntax and set "type": "module" in package.json.
Use DB_TYPE, DB_HOST, etc. or check release notes for updates.
npm install mysql2 for MariaDB/MySQL, or pg for PostgreSQL.
Ensure SCRIPTS_FOLDER is set and contains .sql files with semicolons between statements.
Replace require with import, or use dynamic import().
npm install mysql2
npm install pg
Set DB_TYPE to 'MariaDB' or 'PostgreSQL' in .env file.