import * as viewEngine from "https://deno.land/x/view_engine@v10.6.0/deps.ts";
Classes
A class which registers middleware (via |
Variables
Eta's base (global) configuration | |
Eta's base (global) configuration | |
Eta's template storage | |
Functions
Make an assertion, error will be thrown if | |
Make an assertion that | |
f blue | Set text color to blue. |
Takes a template string and returns a template function that can be called with (data, config, [cb]) | |
Compiles a template string to a function string. Most often users just use | |
Update Eta's base config | |
Takes one or two partial (not necessarily complete) configuration objects, merges them 1 layer deep into eta.config, and returns the result | |
Reads a template, compiles it into a function, caches it if caching isn't disabled, returns the function | |
Render a template | |
Render a template asynchronously | |
Test whether or not the given path exists by checking with the file system | |
Set text color to green. | |
Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator. | |
Convert a glob string to a regular expression. | |
Test whether the given string is a glob | |
Like join(), but doesn't collapse "**/.." when | |
Like normalize(), but doesn't collapse "**/.." when |
Interfaces
A parsed path object generated by path.parse() or consumed by path.format(). |