зеркало из https://github.com/github/jtml.git
c4ea26a6d8 | ||
---|---|---|
.github/workflows | ||
src | ||
test | ||
.eslintrc.json | ||
.gitignore | ||
CODEOWNERS | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
package-lock.json | ||
package.json | ||
tsconfig.json |
README.md
@github/jtml
This library is designed as a layer on top of @github/template-parts to provide declarative, JavaScript based HTML template tags.
This library is heavily inspired by lit-html
, which GitHub has used in production for a while. This was created independently from lit-html
for the following reasons:
- To re-use code we're using with @github/template-parts which is in production at GitHub.
- To align closer to the
Template Parts
whatwg proposal. By using @github/template-parts we aim to closely align to the Template Parts proposal, hopefully one day dropping the dependency on @github/template-parts.