thot-harmony

0.1.0 • Public • Published

thot-harmony

Node Harmony Enforcement for your scripts entry points

Build Status Dependency Status devDependency Status unstable

Usage

require('thot-harmony')();

require('some-script-that-needs-harmony');

Note

While this module will allow you to run harmony on any script you include if you use generators or other syntax that is unavailable without the harmony flag in the entry point of your application the interpreter will still throw an error

To use it properly create a dummy entry point that requires this module and then require your real entry point

This module was built for node 0.11 to make it so that there wasn't a need to type --harmony each time but you can use it with 0.10 as well to enable other features by just changing what the file is testing for harmony support

Readme

Keywords

Package Sidebar

Install

npm i thot-harmony

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • thotjs