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

x/vento/src/tokenizer.ts

🌬 A minimal but powerful template engine
Go to Latest
import * as vento from "https://deno.land/x/vento@v0.6.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]