nodejs-std
nodejs-std copied to clipboard
Some of the Haxe std library for Node.js
Hi! method leavFullscreen in nodejs.webkit.Window should be named leaveFullscreen. Thanks!
All nodejs docs show that ``` javascript new Buffer(length); ``` is **uninitialized** However, ``` javascript haxe.io.Bytes.alloc(length); ``` returns an initialized (with 0's) buffer in all targets. While I can't seem...
Bear with me here, I'm not sure if I totally understand all of the layers of abstraction going on in the code : ) So, I've been trying to send...
It would be really great if you could post some examples on how to use this. I'm not super familiar with Haxe, but when I try to run js code...
http://nodejs.org/api/process.html#process_process_execargv
Hi, I'm trying to port a simple js/node project to Haxe/node but i have some troubles. This doesn't work : var express = Node.require('express'); var app:ExpressServer = express(); app.use(express.bodyParser()); //...
This line of code works: ``` pathToPlugin = js.Node.require("path").resolve(pathToPlugin); //Produces this code: //var pathToPlugin = [js.Node.require("path").join(path[0],subfolder[0])]; //pathToPlugin[0] = js.Node.require("path").resolve(pathToPlugin[0]); ``` This line of code doesn't work: ``` pathToPlugin = js.Node.path.resolve(pathToPlugin);...
I have a project in node 0.8.x and one in 0.10.x ... how do you plan to support node versions?
When using -lib nodejs with NodeJS Webkit, it complains about some vars not being defined. Adding the following line at the beginning of js.Node.**init**() fixes it: ``` untyped __js__("var __filename,...