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-packis needed to build thefql-tspackage. You install it by runningcargo install wasm-packin your terminal.nodeandnpmare needed for the demo server. You can download the installer here
- Enter the
fql-tsdirectory - Run
wasm-pack build --target webto build the NPM package. cd ../fql-web-demoto switch to the web demo directory.- Run
npm installto install the dependencies from thepackage.jsonfile - Run
npm run startto start the dev server