@jsep-plugin/template
v1.0.5
Published
Adds template literal expression support
Downloads
18,799
Readme
@jsep-plugin/template
A JSEP plugin for adding template literal expression support. Allows expressions of the form:
jsep('`hi ${name}`');
jsep('msg`hi ${name}`');
Install
npm install @jsep-plugin/template
# or
yarn add @jsep-plugin/template
Usage
import jsep from 'jsep';
import jsepTemplateLiteral from '@jsep-plugin/template';
jsep.plugins.register(jsepTemplateLiteral);