Skip to content

holepunchto/bare-tpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bare-tpl

Simple template string based templating for Bare.

Caution

Templates support arbitrary JavaScript execution and must only be rendered from trusted input.

npm i bare-tpl

Usage

const tpl = require('bare-tpl')

tpl.render('${hello} world!', { hello: 'Howdy' })
// Howdy world!

License

Apache-2.0

About

Simple template string based templating for Bare

Resources

License

Stars

Watchers

Forks

Contributors