npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

broccoli-es6-arrow

0.2.0

@hemanth

npmHomeRepoSnykSocket
Downloads:0
$ npm install broccoli-es6-arrow
DailyWeeklyMonthlyYearly

broccoli-fat-arrow Build Status

Compiles ES6 arrow functions to ES5 compliant code

[1, 2, 3].map(n => n * 2);

compiles to this:

[1, 2, 3].map(function(n) { return n * 2; });

Install

npm install --save broccoli-es6-arrow

Example

var md = require('broccoli-es6-arrow');
tree = md(tree);

License

MIT © Hemanth.HM