airbnb-browser-shims

3.3.0 • Public • Published

airbnb-browser-shims Version Badge

Browser and JS language shims used by Airbnb.

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

import 'airbnb-browser-shims';

Included shims

Only browser shims

If you only want to bring in the browser shims and not the JS language shims (from airbnb-js-shims), you can import airbnb-browser-shims/browser-only. If you choose this route, you will want to be sure that you are properly bringing in the language shims for the browsers you support somehow. For example:

import 'airbnb-js-shims/target/es2015';
import 'airbnb-browser-shims/browser-only';

/airbnb-browser-shims/

    Package Sidebar

    Install

    npm i airbnb-browser-shims

    Weekly Downloads

    5,059

    Version

    3.3.0

    License

    MIT

    Unpacked Size

    11.8 kB

    Total Files

    11

    Last publish

    Collaborators

    • brieb
    • airbnbeng
    • lencioni
    • ljharb
    • raejin