Skip to content

Latest commit

 

History

History

template

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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)