meteor-harmony icon indicating copy to clipboard operation
meteor-harmony copied to clipboard

[DEPRECATED] Javascript Harmony for Meteor

Harmony for Meteor

deprecated

This package is deprecated

When I created this package back in May 2014, using the Harmony compiler from Google was a reasonable way to use JavaScript of the future on Meteor applications. Since then, Meteor has refactored its internal plugin API and created an official ecmascript package that is way more integrated with the platform, support a lot more features, and has better stability.

That’s why this package is now deprecated in favor of ecmascript. The ecmascript package documentation is available here.

Introduction

A thin wrapper around Traceur for Meteor.

"Traceur is a JavaScript.next-to-JavaScript-of-today compiler that allows you to use features from the future today. Traceur's goal is to inform the design of new JavaScript features which are only valuable if they allow you to write better code. Traceur allows you to try out new and proposed language features today, helping you say what you mean in your code while informing the standards process."

– Traceur README

Usage

Each file with the .next.js extension will be automatically compiled (with source maps) and bundled.

You'll be able to use every non-experimental language feature except import. Meteor automatically imports your files, so exported variables are globally accesible.