{"id":22789187,"url":"https://github.com/deepakb/database-hub","last_synced_at":"2025-03-30T16:26:05.211Z","repository":{"id":187013131,"uuid":"584768617","full_name":"deepakb/database-hub","owner":"deepakb","description":"Connect to multiple types of databases including MySQL, PostgreSQL, MongoDB, CosmosDB, and Couchbase with a single, easy-to-use interface.","archived":false,"fork":false,"pushed_at":"2023-01-05T12:26:17.000Z","size":48,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T18:06:12.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/deepakb.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}},"created_at":"2023-01-03T13:20:01.000Z","updated_at":"2023-03-09T00:14:37.000Z","dependencies_parsed_at":"2023-08-08T17:06:00.458Z","dependency_job_id":null,"html_url":"https://github.com/deepakb/database-hub","commit_stats":null,"previous_names":["deepakb/database-hub"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakb%2Fdatabase-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakb%2Fdatabase-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakb%2Fdatabase-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakb%2Fdatabase-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepakb","download_url":"https://codeload.github.com/deepakb/database-hub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246345231,"owners_count":20762355,"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-12-12T01:44:16.162Z","updated_at":"2025-03-30T16:26:05.181Z","avatar_url":"https://github.com/deepakb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# database-hub\n\nConnect to multiple types of databases including MySQL, PostgreSQL, MongoDB, CosmosDB, and Couchbase with a single, easy-to-use interface.\n\n## Installation\n\nTo install `database-hub`, run the following command:\n\n![image](https://user-images.githubusercontent.com/1321311/210366631-7f9f2bff-b345-4365-80ac-9095db744f74.png)\n\n## Usage\n\nTo use `database-hub`, import the desired database functions and pass the necessary options.\n\n![image](https://user-images.githubusercontent.com/1321311/210366782-211f3855-beea-44d9-bbdc-933b7012fd31.png)\n\n## Options\n\n### MySQL\n\n- `host`: The hostname of the MySQL server. (required)\n- `user`: The username to connect to the MySQL server. (required)\n- `password`: The password for the user. (required)\n- `database`: The database to connect to. (required)\n\n### PostgreSQL\n\n- `host`: The hostname of the PostgreSQL server. (required)\n- `user`: The username to connect to the PostgreSQL server. (required)\n- `password`: The password for the user. (required)\n- `database`: The database to connect to. (required)\n\n### MongoDB\n\n- `url`: The URL of the MongoDB server. (required)\n\n### CosmosDB\n\n- `endpoint`: The endpoint URL of the CosmosDB account. (required)\n- `auth`: An object containing the authentication options. (required)\n  - `masterKey`: The master key for the CosmosDB account. (required)\n\n### Couchbase\n\n- `url`: The URL of the Couchbase cluster. (required)\n\n## License\n\n`database-hub` is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepakb%2Fdatabase-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepakb%2Fdatabase-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepakb%2Fdatabase-hub/lists"}