open-index/open-npm huggingface dataset:
npm package: @fc-components/es-query
Description: kql to dsl
Latest version: 0.0.3

## KQL 转换成 DSL

### 使用

```
import { buildESQueryFromKuery, getQueryAST } from "@fc-components/es-query";

const kquery = 'http_host.*: logs AND (method.keyword: * OR @timestamp > 100) AND user:{ first: "Alice" and last: "White" }';
const queryAst = getQueryAST(kquery);
const query = buildESQueryFromKuery(kquery);
console.log("queryAst", queryAst);
console.log("query", query);
```