js-shims

JS language shims used by Airbnb.

  • Owner: airbnb/js-shims
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

airbnb-js-shims Version Badge

JS language shims used by Airbnb.

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

import 'airbnb-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 'airbnb-js-shims/target/es2015';

Included targets

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

Main metrics

Overview
Name With Ownerairbnb/js-shims
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2016-03-24 07:29:34
Pushed At2023-03-04 01:47:45
Last Commit At2020-07-14 08:31:09
Release Count19
Last Release Namev2.2.1 (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count123
Watchers Count25
Fork Count18
Commits Count89
Has Issues Enabled
Issues Count2
Issue Open Count0
Pull Requests Count7
Pull Requests Open Count0
Pull Requests Close Count4
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private