JSPM

es6-shorthands

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q15715F
  • License MIT

An ES6 and CommonJS cross-compatible transpiler

Package Exports

  • es6-shorthands

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

Readme

es6-shorthands

NPM version build status Test coverage

This will simply replace the new ES6 shorthand method syntax with the corresponding ES5 equivalent.

So {a, b() {}} becomes {a: a, b: function b() {}}