# @jsep-plugin/assignment

> Adds assignment expression support

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

## Install

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

## 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.3.0 |
| 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 | 39.7 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/assignment
- Repository: https://github.com/EricSmekens/jsep
- Homepage: https://ericsmekens.github.io/jsep/tree/master/packages/assignment#readme
- Issues: https://github.com/EricSmekens/jsep/issues
- npm.io page: https://npm.io/package/@jsep-plugin/assignment

## Recent versions

- 1.3.0 (latest) — 2024-11-05
- 1.2.0-beta.1 (beta) — 2021-12-13
- 1.2.1 — 2022-09-18
- 1.2.0 — 2022-02-28
- 1.1.0 — 2021-10-17
- 1.0.1 — 2021-08-27
- 1.0.0 — 2021-08-24

## README

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

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

# @jsep-plugin/assignment

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

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

## Install

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

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

## Meta

[LICENSE (MIT)](/LICENSE)

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