-
Notifications
You must be signed in to change notification settings - Fork 351
Working with node.js modules
Nako Sung edited this page Nov 23, 2015
·
2 revisions
Unreal.js provides require
function which is a crucial element to live along node.js modules. But Unreal.js is not a node.js, so there are no net
, fs
, process
, http
, ...
Only small amount of functions are provided including timer functions(setTimeout
, clearTimeout
, ...), process.nextTick
and fs.readFileSync
(which reads UTF8 only).
But modules in node.js are designed to be shallow, so most of modules are just usable! 👍
Perhaps you may even publish your game code into npm
to share with others.