Bun SQLite

Execute prepared statements and transactions on SQLite databases via bun:sqlite.

5|1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/ANONIMO432HZ/OmniBrain-AI-Proxy-Smart --skill bun-sqlite-anonimo432hz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Bun SQLite
Source: https://github.com/ANONIMO432HZ/OmniBrain-AI-Proxy-Smart/tree/main/.agents/skills/bun-sqlite
Command: npx skills add https://github.com/ANONIMO432HZ/OmniBrain-AI-Proxy-Smart --skill bun-sqlite-anonimo432hz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bun SQLite provides a fast, native-like interface to SQLite via bun:sqlite, enabling efficient database access within Bun-powered apps without switching runtimes.

Core Features & Use Cases

  • High-performance SQLite driver integration with bun:sqlite
  • Support for prepared statements, transactions, and versatile query methods
  • Use cases include lightweight data stores, user data lookup, and bulk operations in Bun-based services.

Quick Start

Create or open a database with bun:sqlite and perform common operations such as run, prepare, and query.

Frequently Asked Questions about Bun SQLite

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use SQLite transactions and prepared statements in a Bun application?

Yes, you can run an in-memory SQLite database in Bun by utilizing the versatile connection modes provided through the native-like bun:sqlite interface, which supports both file-based and in-memory database requirements for testing environments.

Does Bun SQLite work for bulk operations in lightweight web services?

Bun SQLite is designed for lightweight web services and supports bulk operations, enabling efficient database access and user data lookup without switching runtimes, making it suitable for small to medium-sized services.

What is the best way to handle SQLite errors and manage database connections in Bun?

The best way to handle SQLite errors and manage connections in Bun is through this optimized interface, which provides robust error handling and multiple connection modes alongside versatile query utilities for direct SQL execution.

Can I run an in-memory SQLite database for testing using Bun?

Bun SQLite provides a native-like interface to bun:sqlite, enabling high-performance data handling and optimized access for lightweight data stores within Bun-powered apps without switching runtimes.

How do I execute SQL queries directly in a Bun-powered offline data store?

You can execute SQL queries directly in a Bun-powered offline data store by leveraging the versatile query methods and prepared statements provided by the bun:sqlite interface, ensuring fast and efficient data retrieval.