sql-summary

JSON →
library 1.0.1 ·javascript
verified Jun 5, 2026

sql-summary (v1.0.1) is a lightweight JavaScript library that analyzes any SQL query and produces a concise summary string containing the main verb (SELECT, INSERT, UPDATE, etc.), the type of object operated on (TABLE, DATABASE, etc.), and the primary table or database name. It is maintained by Elastic and is ideal for logging, monitoring, and grouping similar queries without revealing sensitive details. It has minimal dependencies and is compatible with Node.js and browsers. Release cadence is low; the package is stable and receives updates for bug fixes.