JSPM

@jsep-plugin/assignment

1.3.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2621531
  • Score
    100M100P100Q214714F
  • License MIT

Adds assignment expression support

Package Exports

  • @jsep-plugin/assignment
  • @jsep-plugin/assignment/dist/cjs/index.cjs.js
  • @jsep-plugin/assignment/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jsep-plugin/assignment) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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)