{"id":13755214,"url":"https://github.com/onebeyond/systemic-mongodb","last_synced_at":"2025-04-12T01:14:46.493Z","repository":{"id":9771478,"uuid":"63285746","full_name":"onebeyond/systemic-mongodb","owner":"onebeyond","description":"A systemic mongodb component","archived":false,"fork":false,"pushed_at":"2023-07-20T11:47:52.000Z","size":249,"stargazers_count":1,"open_issues_count":26,"forks_count":4,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-08T02:41:41.634Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/onebeyond.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-13T23:15:04.000Z","updated_at":"2023-01-27T08:13:42.000Z","dependencies_parsed_at":"2024-08-03T10:02:11.273Z","dependency_job_id":null,"html_url":"https://github.com/onebeyond/systemic-mongodb","commit_stats":null,"previous_names":["guidesmiths/systemic-mongodb"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onebeyond","download_url":"https://codeload.github.com/onebeyond/systemic-mongodb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247901990,"owners_count":21015378,"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":[],"created_at":"2024-08-03T10:00:48.952Z","updated_at":"2025-04-12T01:14:46.472Z","avatar_url":"https://github.com/onebeyond.png","language":"JavaScript","funding_links":[],"categories":["Modules"],"sub_categories":[],"readme":"[![Maintainability](https://api.codeclimate.com/v1/badges/88bb5737814cba7db3e5/maintainability)](https://codeclimate.com/github/onebeyond/systemic-mongodb/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/88bb5737814cba7db3e5/test_coverage)](https://codeclimate.com/github/onebeyond/systemic-mongodb/test_coverage)\n\n# systemic-mongodb\nA [systemic](https://github.com/guidesmiths/systemic) mongodb component\n\n## Usage\n```js\nconst System = require('systemic')\nconst mongodb = require('systemic-mongodb')\n\nnew System()\n    .configure({\n        mongodb: {\n            url: 'mongodb://127.0.0.1/example',\n            options: {\n                server: {\n                    poolSize: 5\n                }\n            },\n            showConnectionString: false \n        }\n    })\n    .add('logger', console)\n    .add('mongodb', mongodb()).dependsOn('config', 'logger')\n    .start((err, components) =\u003e {\n        // Do stuff with components.mongodb\n    })\n```\n\n### Parameters\n- **url** Use *mongodb://* [connection string](https://docs.mongodb.com/manual/reference/connection-string/)\n- **showConnectionString** Show connection string on logs, **false** by default\n- **options** Options passed to [MongoClient](https://mongodb.github.io/node-mongodb-native/api-generated/mongoclient.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonebeyond%2Fsystemic-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonebeyond%2Fsystemic-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonebeyond%2Fsystemic-mongodb/lists"}