@mikro-orm/sql-highlighter
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

SQL highlighter for CLI

🚀 Quick Start

$ yarn add @mikro-orm/sql-highlighter

or

$ npm i -s @mikro-orm/sql-highlighter 

Usage:

import { SqlHighlighter } from '@mikro-orm/sql-highlighter';

const highlighter = new SqlHighlighter();
const ret = highlighter.highlight('select 1 + 1');
console.log(ret);

🤝 Contributing

Contributions, issues and feature requests are welcome.

Authors

👤 Martin Adámek

See also the list of contributors who participated in this project.

Show Your Support

Please ⭐️ this repository if this project helped you!

📝 License

Copyright © 2018 Martin Adámek.

This project is licensed under the MIT License - see the LICENSE file for details.

Package Sidebar

Install

npm i @mikro-orm/sql-highlighter

Homepage

mikro-orm.io

Weekly Downloads

12,144

Version

1.0.1

License

MIT

Unpacked Size

34.9 kB

Total Files

11

Last publish

Collaborators

  • b4nan