{"repo":"metarhia/tickplate","free":true,"listed":false,"github":"https://github.com/metarhia/tickplate","clone":"git clone https://github.com/metarhia/tickplate.git","description":"Back-tick template engine for JavaScript 💬","language":"JavaScript","stars":34,"topics":["template","nodejs","metarhia","impress","javascript","templating","format","formatter","render","renderer"],"license":"MIT","category":"dev-tools","readme_excerpt":"Tickplate - Back-tick templates for JavaScript Zero-dependency back-tick templates using property names instead of expressions. Part of the Metarhia stack. Installation Usage Place tag t before a template literal. Placeholders use property names (strings) as keys; pass a data object to the returned function to render. ESM API t(strings, ...keys) Tagged template literal. Returns a function (values, opts?) = string . - Placeholders : ${'key'} — property name from the data object. - Default values : ${'key=value'} — JSON-parsable default when the key is missing. Example: ${'greeting=\"Hello\"'} or ${'count=0'} . - Arrays : Values are joined with , by default. Use opts.delimiter to customize (e.g. { delimiter: ', ' } ). templ(values, opts?) Renders the template. - values : Data object. Keys not present render as empty string. null and undefined are treated as {} . - opts.delimiter : String (or coercible value) used to join array elements. Default: ',' . Examples With delimiter With default values License & Contributors Copyright (c) 2017-2026 Metarhia contributors. Tickplate is MIT licensed. Tickplate is a part of Metarhia technology stack.","default_branch":null,"files":null,"tree":[],"storefront":"/r/metarhia","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/metarhia/tickplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}