serverless-mongodb-local

JSON →
library 1.6.0 ·javascript maintenance
verified Jun 5, 2026

Serverless plugin that automatically starts and stops a local MongoDB instance using mongodb-memory-server. Downloads MongoDB binaries on first use. Serves as a local equivalent to DocumentDB/CosmosDB for development and testing. Compatible with Serverless Framework v2 and v3. Released under MIT license, last updated in 2023. Key differentiator: integrates seamlessly into Serverless offline workflows, supports seeding from JSON files, and provides environment variables for connection URIs. Alternative to using a separate MongoDB installation or Docker container.