tplt

Template Literals & Tag Function

Usage no npm install needed!

<script type="module">
  import tplt from 'https://cdn.skypack.dev/tplt';
</script>

README

tplt

Build Status XO code style

Template Literals & Tag Function.

Install

$ npm i tplt

Usage

const name = 'john';
tplt`Hi ${name} and age ${25}`;
tplt`Simple`;

API

tplt(input)

input

Type: string

License

MIT © Joydip Roy