{"library":"migration-mongodb","type":"library","category":null,"description":"A minimalistic migration and seeding package for MongoDB that automates running migration files on app startup. Version 1.0.3 provides a simple synchronous initializer that scans a folder for files containing 'migration' in their name and executes them sequentially. It is designed for small projects or prototypes where a full migration framework is overkill. The package has no runtime dependencies beyond the native MongoDB driver. It does not support rollbacks, configuration files, or CLI commands; migrations are automatically run each time the application starts. The release cadence is unknown; the package has seen no recent updates. Compared to alternatives like migrate-mongo or mongodb-migrate, this package is much simpler but lacks features like down-migrations, version locking, and asynchronous control.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install migration-mongodb","imports":["import mongodbMigrations from 'migration-mongodb'","const mongodbMigrations = require('migration-mongodb')","import mongodbMigrations from 'migration-mongodb';\nimport { Db } from 'mongodb';"]},{"cmd":"yarn add migration-mongodb","imports":[]},{"cmd":"pnpm add migration-mongodb","imports":[]}],"homepage":"https://github.com/anshulsoni6/migration-mongodb#readme","github":"https://github.com/anshulsoni6/migration-mongodb","docs":null,"changelog":null,"pypi":null,"npm":"migration-mongodb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}