New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

broccoli-6to5-transpiler

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-6to5-transpiler

A Broccoli plugin which transpile ES6 to readable ES5 by using 6to5.


Version published
Weekly downloads
19
increased by72.73%
Maintainers
3
Weekly downloads
 
Created

broccoli-6to5-transpiler

Build Status

A Broccoli plugin which transpile ES6 to readable ES5 by using 6to5.

How to install?

$ npm install broccoli-6to5-transpiler --save-dev

How to use?

In your Brocfile.js:

var esTranspiler = require('broccoli-6to5-transpiler');
var scriptTree = esTranspiler(inputTree, options);

You can find options at 6to5's github repo.

About source map

Currently this plugin only support inline source map, if you need separate source map feature, welcome to submit a pull request.

FAQs

Package last updated on 14 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts