# broccoli-jstransform

> Broccoli plugin to transform ES6 to ES5

Latest version **3.0.0** (published 2015-01-06) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install broccoli-jstransform
pnpm add broccoli-jstransform
yarn add broccoli-jstransform
bun add broccoli-jstransform
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2015-01-06 |
| First published | 2014-04-24 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Simon Wade |
| Maintainers | aexmachina |
| Keywords | jstransform, broccoli-plugin, ES6, ES5, convert |

## Links

- npm: https://www.npmjs.com/package/broccoli-jstransform
- Repository: https://github.com/aexmachina/broccoli-jstransform
- Issues: https://github.com/aexmachina/broccoli-jstransform/issues
- npm.io page: https://npm.io/package/broccoli-jstransform

## Dependencies (4)

- [rsvp](https://npm.io/package/rsvp.md) ^3.0.8
- [minimatch](https://npm.io/package/minimatch.md) ^0.3.0
- [jstransform](https://npm.io/package/jstransform.md) ^8.2.0
- [broccoli-filter](https://npm.io/package/broccoli-filter.md) ^0.1.7

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2015-01-06
- 2.0.0 — 2014-11-13
- 1.0.0 — 2014-10-21
- 0.3.0 — 2014-07-03
- 0.2.1 — 2014-06-24
- 0.1.2 — 2014-05-20
- 0.1.1 — 2014-05-04
- 0.1.0 — 2014-04-24

## README

# broccoli-jstranform

Broccoli plugin for applying [jstransform](https://github.com/facebook/jstransform)
ES6 to ES5 transformations.

## Installation

```bash
npm install --save-dev broccoli-jstransform
```

## Usage

```js
var compileES6 = require('broccoli-jstransform');
var applicationJs = compileES6(sourceTree, options);
```

### Options

* `.transforms` (array): An array of jstransform transformations
  to be performed. Defaults to the full set of transforms included in jstranform.
  Options are:

  es6-arrow-function  
  es6-class  
  es6-destructuring  
  es6-object-concise-method  
  es6-object-short-notation  
  es6-rest-param  
  es6-template  
  es7-spread-property  

* `.visitors` (array): An array of custom tranforms. If `.transforms` is specified 
  then this option is ignored.
* `.ignoredFiles` (array): An array of file paths to ignore. These are included
  in the output tree without being transformed. [Glob patterns](https://github.com/isaacs/minimatch) 
  can be used.
* `.extensions` (array): File extensions to transform. Defaults to '.js'
* `.sourceMap`: Create source maps (experimental)

---
_Source: https://npm.io/package/broccoli-jstransform · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
