{"id":20795072,"url":"https://github.com/mikro-orm/sql-highlighter","last_synced_at":"2025-07-08T21:33:18.015Z","repository":{"id":37905168,"uuid":"284515800","full_name":"mikro-orm/sql-highlighter","owner":"mikro-orm","description":"SQL highlighting for CLI","archived":false,"fork":false,"pushed_at":"2025-07-07T20:36:53.000Z","size":310,"stargazers_count":11,"open_issues_count":7,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-07T23:44:29.565Z","etag":null,"topics":["nodejs","sql"],"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-02T18:09:53.000Z","updated_at":"2025-06-25T11:13:18.000Z","dependencies_parsed_at":"2023-11-20T20:25:34.235Z","dependency_job_id":"8f57efad-79c3-48a9-b23d-2849774c747c","html_url":"https://github.com/mikro-orm/sql-highlighter","commit_stats":{"total_commits":53,"total_committers":3,"mean_commits":"17.666666666666668","dds":0.5094339622641509,"last_synced_commit":"3de45ae91f7bb55a44244e6dfe5611ccd6473954"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikro-orm/sql-highlighter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fsql-highlighter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fsql-highlighter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fsql-highlighter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fsql-highlighter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikro-orm","download_url":"https://codeload.github.com/mikro-orm/sql-highlighter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikro-orm%2Fsql-highlighter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264353018,"owners_count":23595016,"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":["nodejs","sql"],"created_at":"2024-11-17T16:19:42.069Z","updated_at":"2025-07-08T21:33:17.996Z","avatar_url":"https://github.com/mikro-orm.png","language":"TypeScript","readme":"# SQL highlighter for CLI\n\n- based on [doctrine/sql-formatter](https://github.com/doctrine/sql-formatter)\n- built for CLI\n- (almost) dependency free\n\n## 🚀 Quick Start\n\n```\n$ yarn add @mikro-orm/sql-highlighter\n```\n\nor\n\n```\n$ npm i -s @mikro-orm/sql-highlighter \n```\n\nUsage:\n\n```typescript\nimport { SqlHighlighter } from '@mikro-orm/sql-highlighter';\n\nconst highlighter = new SqlHighlighter();\nconst ret = highlighter.highlight('select 1 + 1');\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 © 2018 [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%2Fsql-highlighter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikro-orm%2Fsql-highlighter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikro-orm%2Fsql-highlighter/lists"}