JSPM

babel-helper-simple-access

7.0.0-beta.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4573
  • Score
    100M100P100Q124146F
  • License MIT

Babel helper for ensuring that access to a given value is performed through simple accesses

Package Exports

  • babel-helper-simple-access

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 (babel-helper-simple-access) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

babel-helper-simple-assignment

There are many cases where it is hard to perform transformations because a piece of code is using complex structures. Say you want to rewrite all accesses to a given variable, and there are cases like

i += 1
--i;

It is difficult to work with.

This helper can handle converting these to simple access patterns of standard assignment. This plugin does not handle

{ a } = foo;

so assignment to patterns still needs to be handled when you are processing updates to values.

Usage

TODO