1.0.3 • Published 12 months ago

@jsep-plugin/spread v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

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)