@ts-monorepo-starter/templates
v1.0.3
Published
> TODO: description
Downloads
2
Readme
Templating engines
Why
I'll be using a templating engine + flat files to help build these out for these reasons:
- Flat files with replacement tokens makes it super easy to write templates.
- Simpler and easier to get setup than JSX/React.
- I'm outputting text files not an XML dialect.
- I can read the files into a module.
Requirements
In no particular order
- Easy template engine that requires a single module
- Can export the template out as a function so I can call else where.
Links
- [ARCHIVED] https://node-swig.github.io/swig-templates/
- [OLD] https://github.com/janl/mustache.js/
- https://github.com/handlebars-lang/handlebars.js
- EJS