diff --git a/README.md b/README.md index 464817b..1d12241 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,15 @@ # dt-sql-parser -[![NPM version][npm-image]][npm-url] +[![NPM version][npm-image]][npm-url] [![NPM downloads][download-img]][download-url] English | [简体中文](./README-zh_CN.md) [npm-image]: https://img.shields.io/npm/v/dt-sql-parser.svg?style=flat-square [npm-url]: https://www.npmjs.com/package/dt-sql-parser +[download-img]: https://img.shields.io/npm/dm/dt-sql-parser.svg?style=flat +[download-url]: https://www.npmjs.com/package/dt-sql-parser + dt-sql-parser is a **SQL Parser** project built with [ANTLR4](https://github.com/antlr/antlr4), and it's mainly for the **BigData** domain. The [ANTLR4](https://github.com/antlr/antlr4) generated the basic Parser, Visitor, and Listener, so it's easy to complete the **syntax validation**, **tokenizer**, **traverse** the AST, and so on features. Besides, it' provides some helper methods, like **split** SQL, and filter the `--` and `/**/` types of comments in SQL. diff --git a/package.json b/package.json index e6ab844..1189a8b 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "test": "jest" }, "author": "dt-insight-front", - "license": "ISC", + "license": "MIT", "devDependencies": { "@types/jest": "^24.0.13", "@typescript-eslint/eslint-plugin": "^3.10.1",