SQLite Statement Type Checker
JSON →A lightweight, zero-dependency TypeScript library for determining the type of a SQLite SQL statement. Version 1.1.0 is the latest stable release, offering simple boolean functions for common SQL operations like SELECT, INSERT, UPDATE, DELETE, CREATE TABLE, ALTER TABLE, DROP TABLE, CREATE/DROP INDEX, CREATE/ALTER/DROP VIEW, PRAGMA, transactions, VACUUM, ANALYZE, ATTACH/DETACH, and REINDEX. The library uses basic string matching, so it is fast and suitable for parsing simple statements without complex grammar. It currently does not support recursive or compound statements. Ship with full TypeScript declarations. Released under MIT license with infrequent updates.
Resources
packagesqlite-statement-type ↗
API endpoints
full doc /v1/registry/sqlite-statement-type