airbnb-js-shims
JS language shims used by Airbnb.
Last updated 7 years ago by ljharb .
MIT · Repository · Bugs · Original npm
$ cnpm install airbnb-js-shims 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.2.1                                ...           latest (6 years ago)

2 Versions

  • 1.7.1                                ...           7 years ago
  • 2.2.1                                ...           6 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (6)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org