extendscript-es6-shim

a collection of useful es6-shims for Extendscript

Usage no npm install needed!

<script type="module">
  import extendscriptEs6Shim from 'https://cdn.skypack.dev/extendscript-es6-shim';
</script>

README

extendscript-es6-shim

A collection of ES6 shims for polyfiling Exendscript (for es5 shims take a look at https://github.com/ExtendScript/extendscript-es5-shim)

Installation

Currently you can install the package using npm:

npm init -y
npm install extendscript-es6-shim

Usage

Array, String and Function notes

All polyfills could be used in your code.

Development

  • Install the devDependencies by running npm install
  • Bundle the index.js by running npm run bundle
  • Add new prototypes in the respective folders
  • If you need new folders, add the folder to the top of ./bin/concat.js into the folders array