Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/vento/src/tokenizer.ts

🌬 A template engine for Deno & Node
Go to Latest
import * as vento from "https://deno.land/x/vento@v0.9.0/src/tokenizer.ts";

Functions

Parse a tag and return the indexes of the start and end brackets, and the filters between. For example: {{ tag |> filter1 |> filter2 }} => [2, 9, 20, 31]