UNPKG

conditional-tag

Version:

Clean, easily readable conditional statements in template literals/strings for Node.js and browsers. Provides `if` / `elseif` / `else` and `switch` / `case` / `default` syntax options.

6 lines (5 loc) 292 B
export { _, _async } from '#lib/tag.js'; export { _if, _elseif, _else, _endif } from '#lib/syntax-if.js'; export { _switch, _case, _default, _endswitch } from '#lib/syntax-switch.js'; export { _always } from '#lib/syntax-always.js'; export { ConditionalTagSyntaxError } from '#lib/error.js';