File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
- # SQL syntax highlight
2
- > A simple and lightweight SQL syntax highlighting library written in pure JavaScript
1
+ # sql-highlight
2
+ > A simple and lightweight library for highlighting SQL queries written in pure
3
+ > JavaScript
3
4
4
5
[ ![ Tests Status] [ tests-badge ]] [ tests-url ]
5
6
[ ![ Coverage Status] [ coveralls-badge ]] [ coveralls-url ]
6
7
[ ![ NPM Version] [ npm-version-badge ]] [ npm-url ]
7
8
[ ![ Downloads Stats] [ npm-downloads-badge ]] [ npm-url ]
8
9
9
10
## What's it all about?
10
- SQL Highlight is a small package that highlights SQL queries. It can output to
11
+ sql-highlight is a small package that highlights SQL queries. It can output to
11
12
both the terminal with Unicode escape sequences, as well as to normal HTML. Oh,
12
13
and there are no external dependencies 😉
13
14
14
15
## Installation
15
16
16
- Install via Yarn:
17
+ sql-highlight is tested to work with Node.js 14, 16 and 18.
18
+
19
+ Install with Yarn:
17
20
``` bash
18
21
yarn add sql-highlight
19
22
```
20
- Install via NPM:
23
+ Install with NPM:
21
24
``` bash
22
25
npm install sql-highlight
23
26
```
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sql-highlight" ,
3
3
"version" : " 4.2.1" ,
4
- "description" : " A simple and lightweight syntax highlighting library for SQL" ,
4
+ "description" : " A simple and lightweight library for highlighting SQL queries written in pure JavaScript " ,
5
5
"main" : " lib/index.js" ,
6
6
"types" : " ./lib/index.d.ts" ,
7
7
"repository" : {
You can’t perform that action at this time.
0 commit comments