tj / consolidate.js

Template engine consolidation library for node.js
3.48k stars 353 forks source link

Support rendering Templates from buffers #340

Open Haringat opened 2 years ago

Haringat commented 2 years ago

Right now consolidate only supports taking a path in the file system which it is supposed to render. However, it would be good to support rendering a template in a buffer so that the template can be stored e.g. in a database and the service does not have to be redeployed for every change in the templates.

niftylettuce commented 2 years ago

PR welcome

titanism commented 1 year ago

We have forked this repository for maintenance and released it under @ladjs/consolidate, see https://github.com/ladjs/consolidate.js. We have merged PR's and updated it for email-templates. Please click the "Watch" button to get notified of all releases at https://github.com/ladjs/consolidate.js. Thank you 🙏

Screen Shot 2023-06-08 at 3 05 12 PM

PR welcome at the new repo once new release is published today!

Haringat commented 1 year ago

@titanism are you aware that spamming goes against GitHub's ToS? And spamming personal promotion under every issue of someone else's repo is ethically questionable to say the least... Especially for issues you may not even have solved. One could easily find your fork in the network next to the fork button.

titanism commented 1 year ago

Hi @Haringat - we are the original maintainers and have npm access as well.

https://www.npmjs.com/package/consolidate

titanism commented 1 year ago

FYI we will be publishing on both consolidate npm and @ladjs/consolidate as similar that we did for koa-router and @koa/router.

titanism commented 1 year ago

v1.0.0 of consolidate has been released (and mirrored to @ladjs/consolidate) 🎉

watch/follow https://github.com/ladjs/consolidate for updates and to submit future issues and PR's