https://github.com/emnudge/minimal-templating-lang
The most minimal of templating languages
https://github.com/emnudge/minimal-templating-lang
Last synced: about 1 month ago
JSON representation
The most minimal of templating languages
- Host: GitHub
- URL: https://github.com/emnudge/minimal-templating-lang
- Owner: EmNudge
- Created: 2019-09-02T20:44:03.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-13T22:32:34.000Z (almost 7 years ago)
- Last Synced: 2026-02-18T04:35:12.705Z (4 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimal-Templating-Lang
The most minimal of templating languages
This is a minimal templating language that should never ever be used by anyone. It was a test to see if I could make a mini-templating language with just node. It works similarly to a stripped down version of things like pug. It only has a very basic partials system.
Will it be expanded in the future? Possibly, but don't bet on it. It was just a way to occupy some free time I had on an off day.
The one this this showed me is that my code is abhorrently messy when doing complex string mutilation. Regex alone is clearly not enough to create somewhat readable text transformation. I may need to dig into parsing frameworks.