{"library":"mongodb-legacy","type":"library","category":null,"description":"A wrapper around the official MongoDB Node.js driver that adds back optional callback support, intended to help projects migrate incrementally from callbacks to promises/async-await. The main mongodb driver dropped optional callbacks in v5. This package (v6.1.3) wraps mongodb v6, is actively maintained, ships TypeScript types, and requires Node >=16.20.1. It uses a caret semver range on mongodb to automatically pull in minor/patch updates. Performance penalty is minimal but present. Not recommended for new projects; use the native driver directly.","language":"javascript","status":"active","version":"6.1.3","tags":["javascript","mongodb","driver","legacy","callbacks","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongodb-legacy","imports":["import { MongoClient } from 'mongodb-legacy'","import { Db } from 'mongodb-legacy'","import { Collection } from 'mongodb-legacy'"]},{"cmd":"yarn add mongodb-legacy","imports":[]},{"cmd":"pnpm add mongodb-legacy","imports":[]}],"homepage":"https://github.com/mongodb-js/nodejs-mongodb-legacy","github":"ssh://git@github.com/mongodb-js/nodejs-mongodb-legacy","docs":null,"changelog":null,"pypi":null,"npm":"mongodb-legacy","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}