frncsdrk / renaissance-underscore-template

renaissance adapter to use underscore templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

renaissance-underscore-template

Test Status

renaissance adapter to use underscore templates

Usage

const { r } = require('renaissance')
const UnderscoreTemplateAdapter = require('renaissance-underscore-template')
const adapter = r.registerAdapter('underscoreTemplate', UnderscoreTemplateAdapter)

adapter.tmpl('foo', 'bar');
console.log(lsa.get('foo'));

API

adapter.tmpl({string} text, {object} data)

Create a template

Contributing

See CONTRIBUTING

Credits

See CREDITS

License

MIT (c) 2017 - 2023 frncsdrk and contributors

About

renaissance adapter to use underscore templates

License:MIT License


Languages

Language:CoffeeScript 100.0%