JSPM

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

Support for rest and spread properties in acorn 5

Package Exports

  • acorn5-object-spread
  • acorn5-object-spread/inject

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

Readme

Spread and rest properties support in acorn 5

NPM version

Since spread and rest properties are part of ECMAScript 2018, acorn now supports them out of the box. Just make sure that you use acorn >= 5.4.1 and set ecmaVersion >= 9. This plugin is deprecated.