556 B
556 B
Polyfill
6to5 includes a polyfill that includes the regenerator runtime and the es6-shim and es6-symbol polyfills.
This will emulate a full ES6 environment. This polyfill is automatically loaded when using 6to5-node.
Usage
Node
require("6to5/polyfill");
Browser
Available from the browser-polyfill.js file within the 6to5 directory of an
npm release.