Skip to main content
Home

Built and signed on GitHub Actions

A minimal DSL to create Bruno filters using Template Literals.

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
100%
Published
2 weeks ago (0.6.0)

default

Minimal DSL for creating Bruno Filters using Template Literals.

T
BinaryFilterExpression

A single filter expression that must appear in the order: key op value.

T
BooleanNumber

A union of numbers to use in place of boolean values.

f
E

A Template Literal to build a BinaryFilterExpression.

T
Expression

Union of a single filter expression or a logical filter group expression.

T
FilterGroup

A group of BinaryFilterExpression objects. Can also be thought of as a "logical expression" collection.

T
FilterParameters

Object suitable to build a query string.

f
filterParams

Create a "params" object suitable for use with qs.

f
G

A Template Literal to build a FilterGroup. All interpolated values should already be parsed as a BinaryFilterExpression.

f
isBinaryFilterExpression

Type narrowing check for BinaryFilterExpression instances.

f
isFilterGroup

Type narrowing check for FilterGroup instances.

f
isOperator

Check if a value is of type Operator.

T
Operator

Union of operators by syntax name.

v
OPERATORS

The known operators that Bruno supports.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.