{"library":"cls-mysql","type":"library","category":null,"description":"Continuation-local storage shim for node-mysql that binds all callbacks passed to MySQL operations to a CLS namespace, enabling context propagation across asynchronous database calls. Current version 1.0.3 is stable but unmaintained. Requires peer dependencies `continuation-local-storage` ^3.1.3 and `mysql` ^2.5.4. Differentiates from similar CLS shims by specifically targeting the node-mysql driver. No significant release cadence; last update is years old.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","continuation-local-storage","node-mysql","mysql","shim","glue"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install cls-mysql","imports":["require('cls-mysql')(ns);","var ns = require('continuation-local-storage').createNamespace('NODESPACE');","var mysql = require('mysql');"]},{"cmd":"yarn add cls-mysql","imports":[]},{"cmd":"pnpm add cls-mysql","imports":[]}],"homepage":"https://github.com/building5/cls-mysql","github":"https://github.com/building5/cls-mysql","docs":null,"changelog":null,"pypi":null,"npm":"cls-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}