{"library":"mongodb-perf-wrapper","type":"library","category":null,"description":"Monkey-patches node-mongodb-native to capture query performance metrics. Wraps the mongodb driver so every operation (find, insert, update, remove) reports duration in microseconds via a callback. Unwraps cleanly. Version 0.1.3 (latest) – no updates since 2014, stable for its narrow use case. Lightweight with no runtime dependencies beyond mongodb itself. Not compatible with mongodb@3+ due to internal API changes.","language":"javascript","status":"deprecated","version":"0.1.3","tags":["javascript","mongodb","client","performance","monitor"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongodb-perf-wrapper","imports":["const wrapper = require('mongodb-perf-wrapper'); wrapper.wrap(mongodb, callback);","wrapper.unwrap(mongodb);","const mongodb = require('mongodb'); wrapper.wrap(mongodb, cb);"]},{"cmd":"yarn add mongodb-perf-wrapper","imports":[]},{"cmd":"pnpm add mongodb-perf-wrapper","imports":[]}],"homepage":"https://github.com/suprememoocow/node-mongodb-perf-wrapper","github":"https://github.com/suprememoocow/node-mongodb-perf-wrapper","docs":null,"changelog":null,"pypi":null,"npm":"mongodb-perf-wrapper","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}