{"id":13836157,"url":"https://github.com/nbalduzzi/fastify-mongo-memory","last_synced_at":"2025-04-25T08:31:32.171Z","repository":{"id":33001732,"uuid":"112726450","full_name":"nbalduzzi/fastify-mongo-memory","owner":"nbalduzzi","description":"Fastify Mongo in memory Plugin","archived":false,"fork":false,"pushed_at":"2023-01-16T00:05:54.000Z","size":699,"stargazers_count":7,"open_issues_count":10,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-20T06:01:07.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/nbalduzzi.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":"2017-12-01T10:19:35.000Z","updated_at":"2024-08-20T06:01:07.425Z","dependencies_parsed_at":"2023-01-16T22:45:14.717Z","dependency_job_id":null,"html_url":"https://github.com/nbalduzzi/fastify-mongo-memory","commit_stats":null,"previous_names":["chapuletta/fastify-mongo-memory"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbalduzzi%2Ffastify-mongo-memory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbalduzzi%2Ffastify-mongo-memory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbalduzzi%2Ffastify-mongo-memory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbalduzzi%2Ffastify-mongo-memory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbalduzzi","download_url":"https://codeload.github.com/nbalduzzi/fastify-mongo-memory/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223992708,"owners_count":17237501,"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-04T15:00:37.023Z","updated_at":"2024-11-10T18:05:11.173Z","avatar_url":"https://github.com/nbalduzzi.png","language":"JavaScript","funding_links":[],"categories":["\u003ch2 align=\"center\"\u003eAwesome Fastify\u003c/h2\u003e"],"sub_categories":["\u003ch2 align=\"center\"\u003eEcosystem\u003c/h2\u003e"],"readme":"# Fastify Mongo Memory Plugin\n\n![Test](https://github.com/nbalduzzi/fastify-mongo-memory/workflows/Test/badge.svg)\n![Semantic Release](https://github.com/nbalduzzi/fastify-mongo-memory/workflows/Semantic%20Release/badge.svg)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n[![NPM](https://nodei.co/npm/fastify-mongo-memory.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/fastify-mongo-memory/)\n\n## Installation\n\n```bash\nnpm install fastify-mongo-memory --save\n```\n\n## Usage\n\n```javascript\nfastify.register(require('fastify-mongo-memory'), options, err =\u003e console.error(err));\n\nfastify.get('/', (request, reply) =\u003e {\n    console.log(fastify.mongo); // Mongo in memory DB\n});\n```\n\n## Options\n\nMongo in memory DB configuration JSON object.\n\n```json\n{\n  \"port\": 5000 /* 8000 by default */\n  \"dbname\": \"database-test-name\"\n}\n```\n\n## Author\n\n[Nicolás Balduzzi](nico.balduzzi@gmail.com)\n\n## License\n\nLicensed under [MIT](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbalduzzi%2Ffastify-mongo-memory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbalduzzi%2Ffastify-mongo-memory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbalduzzi%2Ffastify-mongo-memory/lists"}