# @jsep-plugin/spread

> Adds spread (...) expression support

Latest version **1.0.3** (published 2024-11-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jsep-plugin/spread
pnpm add @jsep-plugin/spread
yarn add @jsep-plugin/spread
bun add @jsep-plugin/spread
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2024-11-05 |
| First published | 2021-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 10.16.0 |
| Dependencies | 0 |
| Unpacked size | 11.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 965 |
| Author | Shelly |
| Maintainers | 6utt3rfly, leaverou, smekkie, soney |

## Links

- npm: https://www.npmjs.com/package/@jsep-plugin/spread
- Repository: https://github.com/EricSmekens/jsep
- Homepage: https://ericsmekens.github.io/jsep/tree/master/packages/spread#readme
- Issues: https://github.com/EricSmekens/jsep/issues
- npm.io page: https://npm.io/package/@jsep-plugin/spread

## Recent versions

- 1.0.3 (latest) — 2024-11-05
- 1.0.2 — 2022-09-18
- 1.0.1 — 2021-08-27
- 1.0.0 — 2021-08-24

## README

[npm]: https://img.shields.io/npm/v/@jsep-plugin/spread
[npm-url]: https://www.npmjs.com/package/@jsep-plugin/spread
[size]: https://packagephobia.now.sh/badge?p=@jsep-plugin/spread
[size-url]: https://packagephobia.now.sh/result?p=@jsep-plugin/spread

[![npm][npm]][npm-url]
[![size][size]][size-url]

# @jsep-plugin/spread

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

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

## Install

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

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

## Meta

[LICENSE (MIT)](/LICENSE)

---
_Source: https://npm.io/package/@jsep-plugin/spread · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
