babelee
Babel preset generator based on user-agent string. You can only transform the parts which are not supported by the specific browser to ES5 code.
- Feature detection is reference to ECMAScript 6 compatibility table
- No polyfills included. Use Polyfills as a Service or/and Babel polyfill if needed.
Install
npm install --save babelee
Usage
var babel = var babelee = var result = babelconsole/*var max = function max() { // arrow function is transformed return Math.max(...arguments); // spread operator is not transformed};*/
License
MIT