@sensu.io/selector-lang
v1.2.1
Published
Parse selector statements
Downloads
13
Readme
@sensuapp/selector-parser
Parses Sensu selector expressions
Usage
import parse from "@sensuapp/selector-parser";
const ast = parse("event.name matches 'us-west-'");
console.log({ ast });