Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 784 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 784 Bytes

npm size

@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);

Meta

LICENSE (MIT)