Alex, I think what you're describing could definitely be a use case of this module. I plan on doing this myself as well in a module or two... Let met know if you run into any troubles along the way.
On Wed, Oct 30, 2013 at 9:34 PM, Alex Kocharin <[email protected]> wrote: > > If a certain library is using generators, but is included in node 0.11.x > without --harmony flag, do you suggest to use a fallback? What's the > performance impact of the fallback? > > I guess most people don't use generators in libraries because there is not > a single version of node that supports it by default, and I'm afraid > harmony won't be the default even in 0.12.x. > > > > On Thursday, October 31, 2013 7:36:13 AM UTC+4, Nathan Rajlich wrote: >> >> Hey all, >> >> Just wanted to chime in with a quick new CLI tool that I whipped up: >> gnode: >> https://github.com/**TooTallNate/gnode<https://github.com/TooTallNate/gnode> >> >> gnode (generators⦠nodeā¦) is a wrapper around your node executable that >> ensures ES6 Generators are enabled, even on node <= v0.10.x. The fallback >> is accomplished with facebook/regenerator, but gist is that there's >> absolutely no reason that we can't start publishing modules that depend on >> generators to npm right now! >> >> See the Readme on the repo for some some examples, and please report any >> issues on the bug tracker. >> >> Cheers! >> > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
