Skip to main content
Pipes transform values inline using the syntax {{value | pipeName:arg1:arg2}}. Chain multiple pipes with |.

Syntax

Aggregation Pipes

Compute aggregate values from arrays.

sum

Sum numeric values in an array.

avg

Calculate average of numeric values.

min

Find minimum value in array.

max

Find maximum value in array.

count

Count items in array.

stats

Get all statistics at once.
Returns:

Array Pipes

Manipulate arrays of data.

filter

Filter array items by condition.
Supported operators: =, !=, >, <, >=, <=

find

Find first matching item.
Returns null if not found.

map

Extract a field from each item.

sort

Sort array by field.

first

Get first item in array.

last

Get last item in array.

slice

Get first N items.

flatten

Flatten nested arrays one level.

unique

Remove duplicate items.

reverse

Reverse array order.

indexOf

Find the index of a value in an array.
Returns the index (0-based) if found, or -1 if not found.

String Pipes

Transform string values.

upper

Convert to uppercase.

lower

Convert to lowercase.

trim

Remove leading/trailing whitespace.

replace

Replace all occurrences.

contains

Check if string contains substring (or array contains value).
Returns true or false.

match

Find regex matches.
Returns matched string(s) or null.

extract

Extract regex capture groups.
Returns captured groups.

Utility Pipes

General-purpose transformations.

join

Join array into string.
Default separator: ,

split

Split string into array.
Default separator: ,

as

Store value in context for later use.

default

Provide fallback for null/missing values.

random

Generate random numbers.
Examples:

uuid

Generate a UUID v4.
Returns a random UUID string. Example:

base64

Base64 encode a value.
Works with strings, objects (JSON-encoded then base64), and file content. Examples:

base64decode

Decode a base64 string.
Example:

Math Pipes

Perform arithmetic operations.

multiply

Multiply by a number.

divide

Divide by a number.

add

Add a number.

subtract

Subtract a number.

round

Round to decimal places.

abs

Get absolute value.

Formatting Pipes

Format values for display.

currency

Format a number as currency.
Examples:
Supports 180+ currencies including USD, EUR, GBP, NGN, JPY, CNY, INR, CAD, AUD, BRL, ZAR, GHS, KES, and more.

Pagination Pipes

Handle paginated data.

paginate

Apply pagination to array.
Returns:

cursor

Apply cursor-based pagination.
Returns:

Date/Time Pipes

Work with dates and timestamps.

now

Get current timestamp.

formatDate

Format a date value.
Format tokens:

parseDate

Parse date string.

addDays

Add days to a date.

addHours

Add hours to a date.

diffDays

Calculate difference in days.
If second date omitted, compares to now.

Object Pipes

Manipulate objects.

keys

Get object keys as array.

values

Get object values as array.

pick

Select specific fields.

omit

Exclude specific fields.

merge

Merge with another object.

Chaining Pipes

Combine multiple pipes:

Examples

Filtered and Paginated List

Computed Summary

Safe Defaults

Date Formatting

Currency Formatting