{"library":"botbuilder-storage-mongodb","type":"library","category":null,"description":"MongoDB storage provider for the Bot Framework JavaScript SDK v4. This library implements the `Storage` interface, allowing bots to persist conversation state, user state, and bot state in a MongoDB database. The current version (1.0.17) supports Node.js 13+ and is compatible with the BotBuilder v4 SDK. It exposes a simple API: create a `MongoDbStorage` instance with a MongoDB collection, then use it with `ConversationState` or `UserState`. The library provides a convenience method `getCollection()` that defaults to database `BotFramework` and collection `BotFrameworkState`, but supports custom names. Compared to the official botbuilder-azure storage, this package is community-maintained and offers a lightweight, pure-MongoDB solution without Azure dependencies.","language":"javascript","status":"active","version":"1.0.17","tags":["javascript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install botbuilder-storage-mongodb","imports":["import { MongoDbStorage } from 'botbuilder-storage-mongodb';","const { MongoDbStorage } = require('botbuilder-storage-mongodb');","import { MongoClient } from 'mongodb';"]},{"cmd":"yarn add botbuilder-storage-mongodb","imports":[]},{"cmd":"pnpm add botbuilder-storage-mongodb","imports":[]}],"homepage":"https://github.com/botbuilder-contrib/botbuilder-storage-mongodb#readme","github":"https://github.com/botbuilder-contrib/botbuilder-storage-mongodb","docs":null,"changelog":null,"pypi":null,"npm":"botbuilder-storage-mongodb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}