Const
Lowercase string
const selector = `.container @ text | lowercase`
const input = `heLLo`
const output = `hello`
Lowercase string
const selector = `.container @ text | lowercase`
const input = `heLLo`
const output = `hello`
Parses date from text to timestamp
const selector = `#date @ text | trim | parseDate`
const input = `2023-11-10 10:30`
const output = 1699605000000
Parses date from text to timestamp
Optional
format: unknownOptional
locale: unknownconst selector = `#date @ text | trim | parseDate`
const input = `2023-11-10 10:30`
const output = 1699605000000
Parses float from text
const selector = `#number @ text | trim | parseFloat`
const input = `7.6 `
const output = 7.6
Parses float from text
const selector = `#number @ text | trim | parseFloat`
const input = `7.6 `
const output = 7.6
Parses int from text
const selector = `#number @ text | trim | parseInt`
const input = `7 `
const output = 7
Parses int from text
const selector = `#number @ text | trim | parseInt`
const input = `7 `
const output = 7
Parses size string to bytes
const selector = `#size @ text | trim | parseSize`
const input = `7.4 GB`
const output = `7945689497.6`
Parses size string to bytes
const selector = `#size @ text | trim | parseSize`
const input = `7.4 GB`
const output = `7945689497.6`
Reverses text
const selector = `.container @ text | reverse`
const input = `hello world`
const output = `dlrow olleh`
Reverses text
const selector = `.container @ text | reverse`
const input = `hello world`
const output = `dlrow olleh`
Slices text
const selector = `.container @ text | slice:1,3`
const input = `hello world`
const output = `el`
Slices text
Optional
start: unknownOptional
end: unknownconst selector = `.container @ text | slice:1,3`
const input = `hello world`
const output = `el`
Uppercase first word letters
const selector = `.container @ text | titlecase`
const input = `hello world`
const output = `Hello World`
Uppercase first word letters
const selector = `.container @ text | titlecase`
const input = `hello world`
const output = `Hello World`
Trims string start & end
const selector = `.container @ text | trim`
const input = ` heLLo `
const output = `heLLo`
Trims string start & end
const selector = `.container @ text | trim`
const input = ` heLLo `
const output = `heLLo`
Uppercase string
const selector = `.container @ text | uppercase`
const input = `heLLo`
const output = `HELLO`
Uppercase string
const selector = `.container @ text | uppercase`
const input = `heLLo`
const output = `HELLO`
Generated using TypeDoc
Default extraction filters