
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
@feedbackfruits/east-mongo
Advanced tools
[!NOTE] This is a fork from https://github.com/okv/east-mongo, continued in Typescript with current versions of MongoDB
Mongodb adapter for east, a Node.js database migration tool, which uses the mongodb native driver to perform migrations.
All executed migrations names will be stored at _migrations collection in the
current database, where the _id for each document is the name of the executed migration. A pre-connected instance of MongoClient will be passed in to these migrations.
east-mongo also provides a template for use with migrations at lib/migrationTemplates/async.js.
This default migration template will be used if template is not set. To override this behaviour and provide your own template, set template in your .eastrc file to the path of your template file:
module.exports = {
template: require.resolve('east-mongo/lib/migrationTemplates/async.js')
}
or in Typescript
export default {
template: require.resolve('east-mongo/lib/migrationTemplates/async.ts')
}
east-mongo supports current, active and maintenance versions of node.js: https://nodejs.org/en/about/previous-releases Currently this means this package is tested against versions 18, 20 and 22.
For the MongoDB drivers, we follow language compatibility matrix from MongoDB: https://www.mongodb.com/docs/drivers/node/current/compatibility/#language-compatibility This currently means the minimum supported version is 4.x
mongodb adapter requires mongodb package as peer dependency, so you should install it manually along side with east:
npm install east @feedbackfruits/east-mongo mongodb
# or
yarn add east @feedbackfruits/east-mongo mongodb
Sample .eastrc content:
{
"adapter": "@feedbackfruits/east-mongo",
"url": "mongodb://localhost:27017/test",
"options": {
"server": {
"socketOptions": {
"socketTimeoutMS": 3600000
}
}
}
}
Alternatively, pass in the options through the CLI:
east migrate --adapter east-mongo --url $MONGODB_URI
# or, to run TS migrations
yarn add -DE tsx
tsx node_modules/east/bin/east.js migrate --adapter east-mongo --url $MONGODB_URI --migration-extension ts
Where url is url of database which you want to migrate (in
mongodb native url connection format) and options is optional settings
(see connect method specification).
Migration files created with default template that comes with adapter will look like:
import type { MongoClient } from 'mongodb';
exports.tags = [];
exports.migrate = async (client: MongoClient) => {
// Migration definition
};
exports.rollback = async (client: MongoClient) => {
// Rollback definitions
};
See east cli or library usage for more details.
MIT
FAQs
mongodb adapter for east (node.js database migration tool)
We found that @feedbackfruits/east-mongo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.