bq2cst 0.5.4 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +7 -3
- package/bq2cst.d.ts +1 -0
- package/bq2cst_bg.wasm +0 -0
- package/package.json +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
# bq2cst
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
Parse GoogleSQL, which is a dialect of [BigQuery](https://cloud.google.com/bigquery), into a concrete syntax tree.
|
|
3
4
|
|
|
4
5
|
> [!WARNING]
|
|
5
|
-
> This parser is designed to be used via [prettier-plugin-bq](https://github.com/
|
|
6
|
+
> This parser is designed to be used via [prettier-plugin-bq](https://github.com/kitta65/prettier-plugin-bq).
|
|
6
7
|
|
|
7
8
|
## Features
|
|
8
|
-
|
|
9
|
+
|
|
10
|
+
- forcused on GoogleSQL (in other words, other SQL dialects are out of scope)
|
|
9
11
|
- developed in Rust, using [wasm-pack](https://github.com/rustwasm/wasm-pack)
|
|
10
12
|
|
|
11
13
|
## Install
|
|
14
|
+
|
|
12
15
|
```shell
|
|
13
16
|
npm install bq2cst
|
|
14
17
|
```
|
|
15
18
|
|
|
16
19
|
## Usage
|
|
20
|
+
|
|
17
21
|
```javascript
|
|
18
22
|
const parser = require("bq2cst");
|
|
19
23
|
parser.parse("SELECT 1;")
|
package/bq2cst.d.ts
CHANGED
package/bq2cst_bg.wasm
CHANGED
|
Binary file
|