{"id":20795067,"url":"https://github.com/mikro-orm/mongo-highlighter","last_synced_at":"2026-03-15T09:15:44.547Z","repository":{"id":37244807,"uuid":"285988842","full_name":"mikro-orm/mongo-highlighter","owner":"mikro-orm","description":"Mongo query highlighting for CLI","archived":false,"fork":false,"pushed_at":"2025-05-05T18:14:05.000Z","size":356,"stargazers_count":2,"open_issues_count":7,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T19:32:54.526Z","etag":null,"topics":["mongodb","nodejs"],"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/mikro-orm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":["B4nan"],"custom":"https://paypal.me/mikroorm"}},"created_at":"2020-08-08T06:39:56.000Z","updated_at":"2024-10-07T21:32:12.000Z","dependencies_parsed_at":"2024-03-18T18:48:50.767Z","dependency_job_id":"3506491d-eac7-46b7-b6a3-5a8d92e18ba6","html_url":"https://github.com/mikro-orm/mongo-highlighter","commit_stats":{"total_commits":52,"total_committers":3,"mean_commits":"17.333333333333332","dds":"0.46153846153846156","last_synced_commit":"7a1a997b620fb57dbb1b6d1964d2eefcfea8cccf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fmongo-highlighter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fmongo-highlighter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fmongo-highlighter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fmongo-highlighter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikro-orm","download_url":"https://codeload.github.com/mikro-orm/mongo-highlighter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252598012,"owners_count":21774186,"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":["mongodb","nodejs"],"created_at":"2024-11-17T16:19:40.937Z","updated_at":"2025-10-27T00:32:01.728Z","avatar_url":"https://github.com/mikro-orm.png","language":"TypeScript","readme":"# MongoDB query highlighter for CLI\n\n- built for CLI\n- (almost) dependency free\n\n## 🚀 Quick Start\n\n```\n$ yarn add @mikro-orm/mongo-highlighter\n```\n\nor\n\n```\n$ npm i -s @mikro-orm/mongo-highlighter \n```\n\nUsage:\n\n```typescript\nimport { MongoHighlighter } from '@mikro-orm/mongo-highlighter';\n\nconst highlighter = new MongoHighlighter();\nconst ret = highlighter.highlight(`db.getCollection('author').insertOne({ createdAt: ISODate('2020-01-01T12:00:00Z'), updatedAt: ISODate('2020-01-01T12:00:00Z'), foo: 'bar', name: 'Jon Snow', email: 'snow@wall.st', termsAccepted: false }, { session: '[ClientSession]' });`);\nconsole.log(ret);\n```\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome. \n\n## Authors\n\n👤 **Martin Adámek**\n\n- Twitter: [@B4nan](https://twitter.com/B4nan)\n- Github: [@b4nan](https://github.com/b4nan)\n\nSee also the list of contributors who [participated](https://github.com/mikro-orm/mikro-orm/contributors) in this project.\n\n## Show Your Support\n\nPlease ⭐️ this repository if this project helped you!\n\n## 📝 License\n\nCopyright © 2020 [Martin Adámek](https://github.com/b4nan).\n\nThis project is licensed under the MIT License - see the [LICENSE file](LICENSE) for details.\n","funding_links":["https://github.com/sponsors/B4nan","https://paypal.me/mikroorm"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikro-orm%2Fmongo-highlighter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikro-orm%2Fmongo-highlighter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikro-orm%2Fmongo-highlighter/lists"}