{"library":"flyweightjs","type":"library","category":null,"description":"Flyweight is an ORM for SQLite and Turso targeting Node.js ≥22.13.1. Version 5.0.34 provides a comprehensive API including insert, update, upsert, get, many, first, query, remove, and batch operations. It automatically generates TypeScript types from your SQL schema (via npm run types/watch) and supports advanced features like JSON field typing and typed raw SQL queries. Unlike traditional ORMs, Flyweight uses a file-based migration system and integrates deeply with Turso for edge databases. The library is ESM-only and ships with TypeScript definitions.","language":"javascript","status":"active","version":"5.0.34","tags":["javascript","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install flyweightjs","imports":["import { db } from './database/db.js'","import { createFlyweight } from 'flyweightjs'"]},{"cmd":"yarn add flyweightjs","imports":[]},{"cmd":"pnpm add flyweightjs","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"flyweightjs","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}