Package Exports
- airbnb-js-shims
- airbnb-js-shims/target/es2015
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 (airbnb-js-shims) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
airbnb-js-shims 
JS language shims used by Airbnb.
Just require/import airbnb-js-shims, and the environment will be shimmed.
import 'airbnb-js-shims';Included shims
- es5-shim
- es5-sham
- es6-shim
- Function.prototype.name
- Array.prototype.includes (ES7/ES2016)
- Object.entries (ES8/ES2017)
- Object.values (ES8/ES2017)
- String.prototype.padStart (ES8/ES2017)
- String.prototype.padEnd (ES8/ES2017)
- Promise.prototype.finally (Stage 4, ES2018)
- Array.prototype.flat (Stage 3, ES2019 candidate)
- (DEPRECATED: renamed to "flat") Array.prototype.flatten (Stage 3, ES2019 candidate)
- Array.prototype.flatMap (Stage 3, ES2019 candidate)
- Symbol.prototype.description (Stage 3, ES2019 candidate)
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 'airbnb-js-shims/target/es2015';Included targets
airbnb-js-shims/target/es5(default)airbnb-js-shims/target/es2015airbnb-js-shims/target/es2016airbnb-js-shims/target/es2017airbnb-js-shims/target/es2018