{"id":18457030,"url":"https://github.com/jesseokeya/migrant","last_synced_at":"2025-06-22T07:04:19.536Z","repository":{"id":35044018,"uuid":"177187451","full_name":"jesseokeya/Migrant","owner":"jesseokeya","description":"Perform mongoDb migrations easily","archived":false,"fork":false,"pushed_at":"2023-01-03T18:43:11.000Z","size":1576,"stargazers_count":3,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-24T02:19:28.207Z","etag":null,"topics":["cli-tool","command-line-tool","migration","migration-tool","mongoclient","mongodb","node-module","nodejs","npm-package"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/mongo-migrant","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jesseokeya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-22T18:02:22.000Z","updated_at":"2023-03-05T06:25:39.000Z","dependencies_parsed_at":"2023-01-15T12:39:18.094Z","dependency_job_id":null,"html_url":"https://github.com/jesseokeya/Migrant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jesseokeya/Migrant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesseokeya%2FMigrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesseokeya%2FMigrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesseokeya%2FMigrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesseokeya%2FMigrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jesseokeya","download_url":"https://codeload.github.com/jesseokeya/Migrant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesseokeya%2FMigrant/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261250231,"owners_count":23130539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli-tool","command-line-tool","migration","migration-tool","mongoclient","mongodb","node-module","nodejs","npm-package"],"created_at":"2024-11-06T08:13:19.257Z","updated_at":"2025-06-22T07:04:14.515Z","avatar_url":"https://github.com/jesseokeya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mongo Migrant\n### Perform mongoDb migrations easily\n\n\n![](/images/screenshot.png)\n\n## Getting Started\n\n### Installing\n\nInstall node dependecies required\n\n```\nnpm install mongo-migrant --save\n```\n\nInorder to use the command line tools you have to install mongo-migrant globally\n\n```\nnpm install mongo-migrant -g\n```\n\n### Usage\n\n```js\nconst Migrant = require('mongo-migrant')\n\nconst context = new Migrant({\n    /** Database uri your migrating from  **/\n    up: process.env.UP,\n    /** Database uri our migrating to **/\n    down: process.env.DOWN\n})\n\n/** performs database migration **/\ncontext.migrate()\n```` \n\n### CLI Usage\n\nDisplays current version of mongo-migrant\n\n```sh\nmongo-migrant --version\n```\n\nDisplays command line usage / docs\n\n```sh\nmongo-migrant --help\n```\n\nPerforms mongo database migration\n\n```sh\nmongo-migrant --up='database_uri_your_migrating_from' --down='database_uri_your_migrating_to'\n```\n\n## Authors\n* **Jesse Okeya** - *Initial work* - [jesseokeya](https://github.com/jesseokeya)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n## Acknowledgments\n* oclif \n* mongoClient\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesseokeya%2Fmigrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesseokeya%2Fmigrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesseokeya%2Fmigrant/lists"}