{"library":"sql-query-identifier","type":"library","category":null,"description":"A SQL query identifier that parses SQL statements to determine their type (e.g., SELECT, INSERT, CREATE_TABLE) by scanning and parsing tokens. Version 3.1.0 supports a wide range of SQL dialects including MySQL, PostgreSQL, BigQuery, and Oracle, with over 50 recognized statement types. Unlike full SQL parsers, it focuses on fast identification by checking only the initial keywords and structure, making it suitable for applications that need quick classification without full validation. It is actively maintained with regular releases and includes TypeScript type definitions. The package works in both Node.js and browser environments.","language":"javascript","status":"active","version":"3.1.0","tags":["javascript","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install sql-query-identifier","imports":["import { identify } from 'sql-query-identifier'","const { identify } = require('sql-query-identifier')","import type { IdentifiedQuery } from 'sql-query-identifier'"]},{"cmd":"yarn add sql-query-identifier","imports":[]},{"cmd":"pnpm add sql-query-identifier","imports":[]}],"homepage":"https://github.com/coresql/sql-query-identifier#readme","github":"https://github.com/coresql/sql-query-identifier","docs":null,"changelog":null,"pypi":null,"npm":"sql-query-identifier","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}