Prego is a tiny CoffeeScript library for callback-style PostgreSQL database access, migrations, and table associations. Current version is 0.3.1, published as an early development release with no documentation and unstable interfaces. It features reversible SQL migrations executed in transactions, automatic statement preparation via the 'pg' connection pool, a Table base class with snake_case to camelCase conversion, and utility classes for parallel operations. Not recommended for production use due to its alpha state and potential breaking changes.
npm install pregoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows configuring Prego, executing a simple query, and creating a migration.
Avoid using in production; pin exact version and expect breaking changes.
Run `npm install prego`
Check version; prego.configure may not exist in 0.3.1. Use direct pg pool.