traceurify

0.0.6 • Public • Published

Not maintained. Use es6ify

es6ify is now using traceur as a foundation, so it supports all ES6 features supported by traceur.

traceurify

Information

Packagetraceurify
Description Traceur transform for Browserify
Node Version >= 0.10

Usage

$ npm install traceurify
$ browserify main.js -t traceurify > bundle.js

Usage with gulp

var gulp        = require('gulp');
var browserify  = require('browserify');
var traceurify  = require('traceurify');
var source      = require('vinyl-source-stream');

gulp.task('default', function () {
  var bundler = browserify('./app/main.js');
  bundler.transform(traceurify({ module: 'commonjs' }));

  return bundler
    .bundle({ debug: true })
    .pipe(source('app.js'))
    .pipe(gulp.dest('.tmp'));
});

Options

All options are passed to the traceur.compile method, for more information on the options look at the traceur documentation.

Here is a list of some of the options:

  • annotations
  • arrayComprehension
  • arrowFunctions
  • asyncFunctions
  • blockBinding
  • classes
  • commentCallback
  • computedPropertyNames
  • debug
  • defaultParameters
  • destructuring
  • forOf
  • freeVariableChecker
  • modules
  • numericLiterals
  • restParameters
  • sourceMaps
  • spread
  • symbols
  • templateLiterals
  • typeAssertions
  • types
  • validate

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.6
    3
  • 0.0.5
    2
  • 0.0.4
    2
  • 0.0.3
    1

Package Sidebar

Install

npm i traceurify

Weekly Downloads

5

Version

0.0.6

License

MIT

Last publish

Collaborators

  • guzart