cls-mysql

JSON →
library 1.0.3 ·javascript
verified Jun 5, 2026

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.