toki-templater
v2.1.0
Published
Plugin
Downloads
4
Readme
toki-templater
A powerful intelligent templater wrapper with support for validation
This is a templater which also provides validation. It's aware of toki standards regarding context layout, as well as Joi aware. It will gladly handle both JSON strings and objects, returning back in whatever form you provided.
Lead Maintainer: Derrick Hinkle
Example
const Templater = require('toki-templater');
Templater(this.action).then( (hydratedConfig) => {
...
});
More examples can be found in the examples document and the full api in the API documentation.