Modules

Pochoir provides internal modules that you can use with template.import() function.

Date module

The pochoir:date module expose moment() function and today(format?) function.

Example:

```pochoir-js
const { today } = await template.import("pochoir:date");
template.exports.today = today("YYYY-MM-DD");
```

Form module

See Form Modume API to see how to use pochoir:form.