arcadia-js-shims

JS language shims used by Arcadia

Usage no npm install needed!

<script type="module">
  import arcadiaJsShims from 'https://cdn.skypack.dev/arcadia-js-shims';
</script>

README

arcadia-js-shims

JS language shims used by Arcadia

npm version CircleCI

Just require/import arcadia-js-shims, and the environment will be shimmed.

import 'arcadia-js-shims';

Included shims

Targeting versions

If you do not need to support older browsers, you can pick a subset of ES versions to target. For example, if you don't support pre-ES5 browsers, you can start your shims with ES2015 by requiring/importing the specific target file. This will shim the environment for that version and upward.

import 'arcadia-js-shims/target/es2015';

Included targets

  • arcadia-js-shims/target/es5 (default)
  • arcadia-js-shims/target/es2015
  • arcadia-js-shims/target/es2016
  • arcadia-js-shims/target/es2017
  • arcadia-js-shims/target/es2018
  • arcadia-js-shims/target/es2019