{"library":"qail-wasm","title":"qail-wasm","description":"qail-wasm provides WebAssembly bindings for QAIL, an AST-native query language that transpiles to SQL. Current stable version is 0.17.1 (npm), but GitHub releases show up to v0.28.0. The package is in alpha and should not be used in production. It has zero runtime dependencies and supports browser and Node.js environments. Key differentiators: type-safe SQL generation from AST rather than string concatenation, preventing SQL injection by construction. Supports PostgreSQL, with MySQL and SQLite planned. The API is currently evolving and may have breaking changes.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install qail-wasm"],"cli":null},"imports":["import init, { parse_and_transpile } from 'qail-wasm'","import { parse_and_transpile } from 'qail-wasm'","const wasm = require('qail-wasm'); wasm.default().then(() => { const sql = wasm.parse_and_transpile(...) })"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import init, { parse_and_transpile } from 'qail-wasm';\n\nawait init();\n\nconst sql = parse_and_transpile(\"get users : id, name [ active = true ]\", \"postgres\");\nconsole.log(sql);\n// → SELECT id, name FROM users WHERE active = true","lang":"typescript","description":"Shows basic usage: initialize WASM, parse QAIL query, transpile to PostgreSQL SQL.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}