Node.js is an event-based, asynchronous I/O framework that uses Google's V8 JavaScript engine. Node.js is commonly used for heavy client-server JavaScript applications.

learn more… | top users | synonyms (1)

1
vote
0answers
8 views

Responding to a callback from a child message in node.js

I've run into a problem with node.js and can't figure out the correct way to handle this situation. I have worker process that handles all the data for a leaderboard. When a request comes in for the ...
0
votes
0answers
4 views

Node.js - calling .net dll function from native module

I have some third party .net dlls that do some specific work. These dlls are compiled and shipped with the application that is installed on the server where node.js server will be running. These dlls ...
-2
votes
0answers
9 views

How good Async.js with node Stream?

A Little Gotcha With Node.js Async and Streams implies using both side by side can be problematic. Any experience?
1
vote
1answer
16 views

Node.js background tasks

I have an application where there is a portion that is computationally intensive. I would like to move that computation off to a background task and have it notify the main Node.js thread when it is ...
0
votes
2answers
18 views

Using express to send a modified file

I'd like to deliver a modified version of a file based on the URL route. app.get('/file/:name/file.cfg', function (req, res) { res.send(<the file file.cfg piped through some sed command ...
0
votes
1answer
13 views

How do I update a subfield of which I know everythig, but don't know the field its a child to?

I have this collection: {_id, list} I have the elements in the list, of which each has an _id of its own, but I can't figure out how to update all the elements in the list. I do know that all ...
0
votes
1answer
44 views

How do you avoid a crash if someone tries to access a page without loging in?

Hey so when I try to go to a page that cannot be accessed without logging in, the app crashes. How do I avoid this? The reason why it crashes is because when they try to access that page, the page ...
0
votes
0answers
42 views

running a server file on node.js

I've been practicing with "hello world" examples of websockets and node.js server. According to all those examples you create a html file (client) and a js file (server). Before you run them, you have ...
0
votes
0answers
40 views

Node JS cannot post error?

I am unsure as to why I am getting an error for POST-ing a form. I am using mongoose to connect to mongodb and using Jade as my view engine. I am trying to POST an update and not a new account into ...
2
votes
2answers
33 views

extracting URL from tag

I'm looking to parse through an HTML request that contains the element: <img src="https://pbs.twimg.com/media/...." alt="Embedded image permalink"</a> To try to get the img src tag. All I ...
0
votes
3answers
19 views

Getting access to data in jade template (to make static html)

I am trying to pass some data to jade template to generate static content. I do not know much about node.js and express, I don't use them as backend. I use jade as a template engine and to generate ...
0
votes
1answer
37 views

Is node.js good for non-server applications, e.g. command line scripts? [on hold]

I believe node is a fast I/O non-blocking platform, which sounds like it does not have to be only network applications. So I wonder if there are any cases of which using node, not as a server, would ...
1
vote
0answers
17 views

RemoveAllListeners() does not delete $events attribute?

I built a simple clientside logger which prints all current active socket.io listeners on my page. I'm getting this information directly from the socket object and the inner $events object. The ...
0
votes
0answers
19 views

HTTPS Node.js application on Heroku

I have configured my SSL enpoint, and I can confirm that that is working. When I go into my log, I see the following: Jul 13 08:14:10 support-dash app/web.1: Express server listening on port 17621 ...
0
votes
1answer
10 views

Parsing npm list in node.js

I am trying to get the fill npm list as json to consume in my script. However this sometimes fails when the response is too big (or atleast that seems to be the failure pattern). {spawn} = ...

1 2 3 4 5 1674
15 30 50 per page