Small and lightweight library that helps you compile simple text templates. It can be useful for interpolation in dictionaries (e.g. i18n) or dynamic data substitution in text strings.
# npm
npm install --save-dev @fluejs/txtag
# yarn
yarn add -D @fluejs/txtag
import {compile} from '@fluejs/txtag';
compile('Hello, {name}!', { name: 'Joe' });
// result: "Hello, Joe!"