Comprende is a JavaScript library for building compiled, parameterized list comprehensions.

Key Features

  • Iterate over arrays or numeric ranges.
  • Supports both string-based comprehensions and chained comprehension expressions.
  • Expressions are compiled into functions and memoized on first use.
  • Expressions can and should be parameterized to improve performance and security.