Skip to content

Latest commit

 

History

History

spread

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

npm size

@jsep-plugin/spread

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

jsep('fn(1, ...a)');
jsep('{ ...a }');
jsep('[...a]');

Install

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

Usage

import jsep from 'jsep';
import jsepSpread from '@jsep-plugin/spread';
jsep.plugins.register(jsepSpread);

Meta

LICENSE (MIT)