UNPKG

idempotent-babel-polyfill

Version:
84 lines (45 loc) 2.17 kB
# idempotent-babel-polyfill [![npm](https://img.shields.io/npm/v/idempotent-babel-polyfill.svg?style=flat-square)](https://www.npmjs.com/package/idempotent-babel-polyfill) [![npm](https://img.shields.io/npm/dt/idempotent-babel-polyfill.svg?style=flat-square)](https://www.npmjs.com/package/idempotent-babel-polyfill) [![GitHub stars](https://img.shields.io/github/stars/codejamninja/idempotent-babel-polyfill.svg?style=social&label=Stars)](https://github.com/codejamninja/idempotent-babel-polyfill) > Import babel-polyfill multiple times Please ★ this repo if you found it useful ★ ★ ★ ## Features * Supports ES6 imports * Supports require ## Installation ```sh npm install --save idempotent-babel-polyfill ``` ## Dependencies * [NodeJS](https://nodejs.org) ## Usage ### Implement with ES6 Import ```js import 'idempotent-babel-polyfill'; ``` ### Implement with Require ```js require('idempotent-babel-polyfill'); ``` ### Implement with Function ```js import { idempotentBabelPolyfill } from 'idempotent-babel-polyfill'; idempotentBabelPolyfill(); ``` ## Support Submit an [issue](https://github.com/codejamninja/idempotent-babel-polyfill/issues/new) ## Contributing Review the [guidelines for contributing](https://github.com/codejamninja/idempotent-babel-polyfill/blob/master/CONTRIBUTING.md) ## License [MIT License](https://github.com/codejamninja/idempotent-babel-polyfill/blob/master/LICENSE) [Jam Risser](https://codejam.ninja) © 2018 ## Changelog Review the [changelog](https://github.com/codejamninja/idempotent-babel-polyfill/blob/master/CHANGELOG.md) ## Credits * [Jam Risser](https://codejam.ninja) - Author ## Support on Liberapay A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project. [Add some fuel](https://liberapay.com/codejamninja/donate) if you'd like to keep me going! [![Liberapay receiving](https://img.shields.io/liberapay/receives/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate) [![Liberapay patrons](https://img.shields.io/liberapay/patrons/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate)