From 28a62eede00a6107e76d69d0f0f1b4bcc3a65957 Mon Sep 17 00:00:00 2001 From: xiaowei Date: Mon, 4 Jan 2021 14:44:26 +0800 Subject: [PATCH] docs: add npm download statistic badge --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.