Skip to content
This repository was archived by the owner on Jul 15, 2021. It is now read-only.

Commit 6bfb0bf

Browse files
committed
README.md badges
1 parent d474b1e commit 6bfb0bf

1 file changed

Lines changed: 10 additions & 15 deletions

File tree

README.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,29 @@
11
# sqlite-parser
22

3+
[![dependencies Status Image](https://david-dm.org/codeschool/sqlite-parser.svg)](https://github.com/codeschool/sqlite-parser/)
4+
[![devDependencies Status Image](https://img.shields.io/david/dev/codeschool/sqlite-parser.svg)](https://github.com/codeschool/sqlite-parser/)
5+
[![NPM Version Image](https://img.shields.io/npm/v/sqlite-parser.svg)](https://www.npmjs.com/package/sqlite-parser)
6+
37
This library takes SQL queries, provided as a string, and generates an
48
AST. An error will be generated describing what is malformed in the source query
59
code if the AST cannot be generated.
610

711
**This parser is written against the [SQLite 3 spec](https://www.sqlite.org/lang.html).**
812

9-
Note: this project is work-in-progress and is **not fully spec-compliant**.
13+
## Install
1014

11-
The parser implements the basic components of the SQLite 3 spec, such as:
12-
- Basic query types `SELECT`, `INSERT`, `UPDATE`, `DELETE`, `DROP`, `CREATE`, etc...
13-
- Sub-queries `SELECT FROM (SELECT * FROM b)`
14-
- Aliases `SELECT * FROM apples AS a`
15-
- `JOIN` types `INNER`, `OUTER`, `LEFT`
16-
- Query modifiers `WHERE`, `GROUP BY`, `HAVING`
15+
```
16+
npm install sqlite-parser
17+
```
1718

1819
## Demo
1920

20-
There interactive demo of the parser hosted
21+
There is an interactive demo of the parser hosted
2122
[at this location](http://codeschool.github.io/sqlite-parser/demo/). The source
2223
for the interactive demo exists in the `demo/` folder of this repository. You
23-
can serve a LiveReload version of the demo on your local machine by running
24+
can serve up a LiveReload version of the demo on your local machine by running
2425
`grunt live`.
2526

26-
## Install
27-
28-
```
29-
npm install sqlite-parser
30-
```
31-
3227
## Usage
3328

3429
The library exposes a function that accepts two arguments: a string

0 commit comments

Comments
 (0)