{"id":49311200,"url":"https://github.com/avash027/mini-mongo-logger","last_synced_at":"2026-04-26T13:00:25.288Z","repository":{"id":57297615,"uuid":"451891581","full_name":"Avash027/mini-mongo-logger","owner":"Avash027","description":"Add a really simple, lightweight and easy to use logger to your next MERN stack web application with just 2 lines of code.","archived":false,"fork":false,"pushed_at":"2022-01-26T13:35:50.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-07T11:28:00.838Z","etag":null,"topics":["express","logger","logging","node","nodejs","simple"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/mini-mongo-logger","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Avash027.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-25T13:38:05.000Z","updated_at":"2022-01-26T13:36:34.000Z","dependencies_parsed_at":"2022-09-01T06:40:10.964Z","dependency_job_id":null,"html_url":"https://github.com/Avash027/mini-mongo-logger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Avash027/mini-mongo-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avash027%2Fmini-mongo-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avash027%2Fmini-mongo-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avash027%2Fmini-mongo-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avash027%2Fmini-mongo-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Avash027","download_url":"https://codeload.github.com/Avash027/mini-mongo-logger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avash027%2Fmini-mongo-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32297897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["express","logger","logging","node","nodejs","simple"],"created_at":"2026-04-26T13:00:24.670Z","updated_at":"2026-04-26T13:00:25.282Z","avatar_url":"https://github.com/Avash027.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to mini-mongo-logger 👋\u003c/h1\u003e\n\u003cp\u003e\n  \u003ca href=\"https://www.npmjs.com/package/mini-mongo-logger\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Version\" src=\"https://img.shields.io/npm/v/mini-mongo-logger.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Avash027/mini-mongo-logger#readme\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Documentation\" src=\"https://img.shields.io/badge/documentation-yes-brightgreen.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Avash027/mini-mongo-logger/graphs/commit-activity\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Maintenance\" src=\"https://img.shields.io/badge/Maintained%3F-yes-green.svg\" /\u003e\n  \u003c/a\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/github/license/Avash027/mini-mongo-logger\" /\u003e\n  \n\u003c/p\u003e\n\n\u003e Add a really simple, lightweight and easy to use logger to your next MERN stack web application with just 2 lines of code.\n\n### ✨ [NPM](https://www.npmjs.com/package/mini-mongo-logger)\n\n## How to use\n\n```js\nconst { initialize } = require(\"mini-mongo-logger\");\n\ninitialize({\n  production: process.env.NODE_ENV === \"production\",\n  url: \"Your mongodb url to store logs in your database\",\n});\n```\n\n## Install\n\n```sh\nnpm install\n```\n\nNow you can use logger in your server\n\n```js\nconst { logger } = require(\"mini-mongo-logger\");\n```\n\n## Log types\n\n```js\nlogger.success(\"success\");\nlogger.warn(\"warn\");\nlogger.error(\"error\");\nlogger.info(\"info\");\nlogger.other(\"other\");\n```\n\n## Author\n\n👤 **Avash Mitra**\n\n- Website: https://www.linkedin.com/in/avash-mitra/\n- Github: [@Avash027](https://github.com/Avash027)\n- LinkedIn: [@avash-mitra](https://linkedin.com/in/avash-mitra)\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\u003cbr /\u003eFeel free to check [issues page](https://github.com/Avash027/mini-mongo-logger/issues). You can also take a look at the [contributing guide](https://github.com/Avash027/mini-mongo-logger/blob/master/CONTRIBUTING.md).\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n## 📝 License\n\nCopyright © 2022 [Avash Mitra](https://github.com/Avash027).\u003cbr /\u003e\nThis project is [MIT](https://github.com/Avash027/mini-mongo-logger/blob/master/LICENSE) licensed.\n\n---\n\n_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favash027%2Fmini-mongo-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favash027%2Fmini-mongo-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favash027%2Fmini-mongo-logger/lists"}