Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

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)