I am trying to digest how this works.  So, if I npm install a random
module, what would I need to do to make the code complete, compiler, etc.
to work with that new module?

Thanks,
Om

On Mon, Jan 11, 2016 at 5:29 PM, OmPrakash Muppirala <bigosma...@gmail.com>
wrote:

> Whoaaa!
>
> On Mon, Jan 11, 2016 at 5:25 PM, Josh Tynjala <joshtynj...@gmail.com>
> wrote:
>
>> FalconJX just got Node.js support today.
>>
>> //--- begin HelloNode.as
>>
>> package
>> {
>>     public class HelloNode
>>     {
>>         public function HelloNode()
>>         {
>>             trace("Hello Node!");
>>             trace(process.version);
>>         }
>>     }
>> }
>> var process:Object = require("process");
>>
>> //--- end HelloNode.as
>>
>> //--- begin usage
>>
>> asnodec HelloNode.as
>> node bin/js-debug/index.js
>>
>> //--- end usage
>>
>> I'm sure there are bugs. I probably forgot to add something important in
>> the build script, but it works on my machine! :)
>>
>> - Josh
>>
>
>

Reply via email to