Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mikro-orm/sql-highlighter

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mikro-orm/sql-highlighter

Node.js SQL highlighter for CLI based on doctrine/sql-formatter.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22K
decreased by-6.07%
Maintainers
1
Weekly downloads
 
Created
Source

SQL highlighter for CLI

  • based on doctrine/sql-formatter
  • built for CLI
  • (almost) dependency free

🚀 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.

Keywords

FAQs

Package last updated on 02 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc