Closed byteSamurai closed 1 year ago
@hans WDYT?
Would love to see helpers added! Is there a list of which helpers are available currently?
Thanks @byteSamurai for this wonderful contribution! I've just merged into develop and it will be included in the next release.
A pleasure, @hans :)
However, I just tried to add author names as normalised tags, which brought me to what you did in the develop branch already. I need to admit dependencies of the handlebar helpers are everything but well maintained. I found a way to tweak the rollup config to rewrite the dynamic imports but... it's not beautiful.
Do you have a specific reason to stick with Handlebars? Maybe Nunjucks could be an alternative since it provides a good set of helpers (filters) already.
WDYT?
Because I needed it myself, I added helpers from a helper collection. I consider all helpers a bit overkill, but string and URI helpers should be sufficient for the most use cases.
Closes #59 Closes #89 too because of
replace
ordashcase
filterWhat happened apart from adding helpers:
npm audit fix
since it resolved a couple of issues - not all, but at least.tsconfig.json
was extended with"esModuleInterop": true,
to use the default exported helper function of the npm package.@hans Your idea for this plugin is awesome. Would like to help more, if you'd like to.