FastLegS is a PostgreSQL ORM built on top of node-postgres, providing a lightweight Active Record-style interface for basic CRUD operations and querying. Version 0.3.4 is the latest stable release; it also supports MySQL via instantiation parameter. It uses callbacks and simple object mappings, with no built-in migrations or schema management. Compared to heavier ORMs like Sequelize, FastLegS offers minimal configuration and direct SQL control, but lacks advanced features like associations, validation, or streaming. It targets Node.js >=0.8.18 and has irregular releases.
npm install FastLegSNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to PostgreSQL, defines a Post model, and inserts a row with a callback.
Use new FastLegSBase(driver) pattern, where driver is 'pg' or 'mysql'.
Migrate to a maintained ORM like Sequelize or Knex.
Avoid calling methods like 'delete' without explicit context; wrap in named functions.
Run 'npm install pg' in your project.
Use 'require('FastLegS')' exactly as written.Run 'npm install FastLegS' and require with exact case: require('FastLegS').Run 'npm install pg'.
Ensure you write 'var FastLegS = new FastLegSBase('pg');' and that FastLegSBase is the correct variable name.