Jelly SQL is a JavaScript library that allows querying the DOM using SQL syntax, converting SQL queries into CSS selectors for document.querySelectorAll(). Current stable version is 1.1.0. The library has no third-party dependencies, supports both browser and Node.js, and includes TypeScript type definitions. It provides a familiar query interface for developers accustomed to SQL, differentiating itself from other DOM query libraries by offering a SQL-like abstraction instead of traditional CSS selector strings. The package is actively maintained with a GitHub Actions CI pipeline.
npm install jelly-sqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates importing the query function and converting SQL-style queries to CSS selectors for DOM querying.
Use query() to get the selector, then pass it to querySelectorAll().
Use npm/yarn import instead of CDN global, or use the module version via <script type="module">.
Ensure correct case for tag names and attribute values.
If using CDN, use `jellySQL.query()`. If using npm, add `import { query } from 'jelly-sql';`.Use `document.querySelectorAll(selector)` where selector is the result of query().
Run `npm install jelly-sql` and use `import { query } from 'jelly-sql';`.No dependency data recorded yet.