RedBeanNode v0.3.3 is a Node.js ORM inspired by RedBeanPHP, supporting MySQL/MariaDB and SQLite via Knex.js. It automatically creates tables and columns on the fly with zero configuration. Compatible with both JavaScript and TypeScript, it offers async/await-friendly CRUD operations. Not yet stable (early development), with infrequent releases. Unlike other ORMs, it eliminates schema definition, but this comes with risks for production use.
npm install redbean-nodeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic CRUD operations with automatic schema generation using SQLite in-memory.
Manually define schema in production or use a migration tool alongside RedBeanNode.
Always call await R.close() after operations or use a try/finally block.
Pin dependency and test thoroughly after updates. Check GitHub releases for any notes.
Use const { R } = require('redbean-node') or import { R } from 'redbean-node'.Drop the table manually or use R.setup() with a fresh database. Avoid mixing with pre-existing schemas.
Ensure R.setup() is called before any operations and R.close() is only called after all operations.