const reflinks = require('{%= name %}');
Since this is an async helper, it can only registered with engines that support async helpers:
Register the helper for use with [templates][]
const templates = require('templates');
const app = templates();
app.asyncHelper('{%= alias %}', reflinks());
To register the helper for use with [assemble][] ^0.6.0:
const assemble = require('assemble');
const app = assemble();
app.asyncHelper('{%= alias %}', reflinks());
Register the helper for use with [verb][]:
const verb = require('verb');
const app = verb();
app.asyncHelper('{%= alias %}', reflinks());
app.task('default', function() {
app.src('.verb*.md')
.pipe(app.dest('./'));
});