Skip to content

A pure ES5 & ES6 polyfill for Babel that only includes standardised features

Notifications You must be signed in to change notification settings

airmanx86/babelify-es6-polyfill

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babelify-es6-polyfill

A pure ES5 and ES6 polyfill for use with babelify that only includes standardised features

This project is a fork from babel-es6-polyfill which is currently depended on older version of core-js and without including ES5 polyfill.

Why?

You may prefer to use this polyfill if:

  • you'd rather use only language features that are on the standards track (e.g. no window.setImmediate)
  • you'd rather not use language features that are still in proposal state, and are quite likely to change

Installation

$ npm install babelify-es6-polyfill --save

How to use the Polyfill

This polyfill is intended for use with babelify only. To include the polyfill you need to require it at the top of the entry point to your application.

require('babelify-es6-polyfill');

About

A pure ES5 & ES6 polyfill for Babel that only includes standardised features

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%