{"library":"mysql-error-keys","type":"library","category":null,"description":"A curated list of constants for MySQL error key strings (e.g., 'ER_DUP_ENTRY'). Current stable version 0.1.3, with infrequent releases. Provides both named exports and a default object with all keys for use in Node.js and browser environments. Differentiates from raw error code maps by offering TypeScript type definitions and a simple constant-based approach to avoid magic strings in error handling.","language":"javascript","status":"active","version":"0.1.3","tags":["javascript","mysql","error","message","list","mysql-error","mysql-error-keys","mysql-error-codes","mysql-error-messages","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql-error-keys","imports":["import { mek } from 'mysql-error-keys'","import { ER_DUP_ENTRY } from 'mysql-error-keys'","const { ER_DUP_ENTRY } = require('mysql-error-keys')"]},{"cmd":"yarn add mysql-error-keys","imports":[]},{"cmd":"pnpm add mysql-error-keys","imports":[]}],"homepage":"https://github.com/prettyblueberry/mysql-error-keys/blob/main/README.md","github":"https://github.com/prettyblueberry/mysql-error-keys","docs":null,"changelog":null,"pypi":null,"npm":"mysql-error-keys","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}