Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianhicks/buildtemplate
a simple javascript string template
https://github.com/brianhicks/buildtemplate
Last synced: 6 days ago
JSON representation
a simple javascript string template
- Host: GitHub
- URL: https://github.com/brianhicks/buildtemplate
- Owner: BrianHicks
- Created: 2010-08-19T19:54:36.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-08-19T19:55:35.000Z (over 14 years ago)
- Last Synced: 2024-12-09T19:53:27.796Z (14 days ago)
- Language: JavaScript
- Homepage:
- Size: 85.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
buildTemplate
=============Intro
-----This is a small JS to take a template and return HTML (or whatever you like).
Usage
-----templateLi = "
templateOptions = {
"style": "li-style",
"content": "Git rocks my socks."
}
buildTemplate(templateLi, templateOptions);
outputs