fql
Rust implementation of a lexer and parser for CrowdStrike Falcon Query Language (FQL).
You'll need rust
and its package manager cargo
. You can install them here.
Once you have those, you will be able to run the tests and the demo CLI.
- Run the tests with
cargo test
- Run the CLI with
cargo run -- --help
The fql-ts
crate exposes bindings so the core fql
crate can be used from JS/TS in the browser.
wasm-pack
is needed to build thefql-ts
package. You install it by runningcargo install wasm-pack
in your terminal.node
andnpm
are needed for the demo server. You can download the installer here
- Enter the
fql-ts
directory - Run
wasm-pack build --target web
to build the NPM package. cd ../fql-web-demo
to switch to the web demo directory.- Run
npm install
to install the dependencies from thepackage.json
file - Run
npm run start
to start the dev server