express example not working
Hi,
I just found out about this as someone who loves Lua and node's convenience I got really excited about this project so decided to test it, but for some reason when express is required it is converted to a function instead of userdata like the other modules:
local express = require('express'); local http=require('http'); local ws=require('ws');
print(type(express)); -- function print(type(http)); -- userdata print(type(ws)); -- userdata
Why is that? Is it module specific or certain kind of modules it's not compatible with? or is there a simple work around/shim?
Update: After playing around with this for several hours, I found
new() not working -- so new eventEmitter() can't be created module.exports missing split() and toString() and maybe other string functions missing? I stopped testing it after that.