Skip to content

Latest commit

 

History

History

assignment

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

npm size

@jsep-plugin/assignment

A JSEP plugin for adding assignment expression support. Allows expressions of the form:

jsep('a = 2');
jsep('a += 2');
jsep('a++');
jsep('--aa');

Install

npm install @jsep-plugin/assignment
# or
yarn add @jsep-plugin/assignment

Usage

import jsep from 'jsep';
import jsepAssignment from '@jsep-plugin/assignment';
jsep.plugins.register(jsepAssignment);

Meta

LICENSE (MIT)