{"id":16409902,"url":"https://github.com/juliandavidmr/mondongo","last_synced_at":"2026-02-12T08:33:48.456Z","repository":{"id":57301413,"uuid":"63926426","full_name":"juliandavidmr/Mondongo","owner":"juliandavidmr","description":"A simple module for describe databases and collections of mongodb.","archived":false,"fork":false,"pushed_at":"2017-06-02T09:33:35.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T08:52:36.990Z","etag":null,"topics":["database","descriptors","javascript","json","mongodb"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/mondongo","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/juliandavidmr.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":"2016-07-22T05:38:55.000Z","updated_at":"2017-03-09T07:22:30.000Z","dependencies_parsed_at":"2022-09-03T11:11:59.811Z","dependency_job_id":null,"html_url":"https://github.com/juliandavidmr/Mondongo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliandavidmr%2FMondongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliandavidmr%2FMondongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliandavidmr%2FMondongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliandavidmr%2FMondongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juliandavidmr","download_url":"https://codeload.github.com/juliandavidmr/Mondongo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248543883,"owners_count":21121838,"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":["database","descriptors","javascript","json","mongodb"],"created_at":"2024-10-11T06:22:06.166Z","updated_at":"2025-09-20T02:41:45.862Z","avatar_url":"https://github.com/juliandavidmr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mondongo\n\nA simple module for describe databases and collections of mongodb.\n\nFeactures:\n\n * Describe databases\n * Connect to database\n * Get collections list\n\nThis is [on GitHub](https://github.com/juliandavidmr/Mondongo)\n\n## Installation ##\n\n```bash\n$ [sudo] npm install mondongo --save\n\n```\n\n## Usage ##\n\n```javascript\nvar mondongo = require('mondongo');\n\n// Connection URL\nvar url = 'mongodb://localhost:27017/blog_db';\n\nmondongo.describe(url).then((described) =\u003e {\n  console.log(\"Output:\\n\", JSON.stringify(described, null, 4));\n});\n```\n\n__Example output (json)__\n```js\n[\n {\n   \"collection\": \"entrada\",  // collection name\n   \"keys\": [\n     \"_id\",\n     \"titulo\",\n     \"cuerpo\",\n     \"fondo\",\n     \"resumen\",\n     \"oculto\",\n     \"eliminado\",\n     \"categoria_entrada_ref\",\n     \"entrada_usuario\",\n     \"createdAt\",\n     \"updatedAt\"\n    ],\n    \"count\": 11,            // number of keys\n    \"describe\": [{\n       \"key\": \"_id\",\n       \"type\": \"object\",    // type: object, string, number, boolean...\n       \"isID\": true         // is an identifier? ==\u003e true | false\n       }, {\n       \"key\": \"titulo\",\n       \"type\": \"string\"\n       }, {\n       \"key\": \"cuerpo\",\n       \"type\": \"string\"\n       }, {\n       \"key\": \"fondo\",\n       \"type\": \"string\"\n       }, {\n       \"key\": \"resumen\",\n       \"type\": \"string\"\n       }, {\n       \"key\": \"oculto\",\n       \"type\": \"boolean\"\n       }, {\n       \"key\": \"eliminado\",\n       \"type\": \"boolean\"\n       }, {\n       \"key\": \"categoria_entrada_ref\",\n       \"type\": \"object\",\n       \"isID\": true\n       }, {\n       \"key\": \"entrada_usuario\",\n       \"type\": \"object\",\n       \"isID\": true\n       }, {\n       \"key\": \"createdAt\",\n       \"type\": \"date\"\n       }, {\n       \"key\": \"updatedAt\",\n       \"type\": \"date\"\n       }\n     ]\n   },\n   ...   //others collections\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliandavidmr%2Fmondongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliandavidmr%2Fmondongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliandavidmr%2Fmondongo/lists"}