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)

0
votes
0answers
4 views

What all can app.get in express be used for?

It can be used for app.get('/', function(req, res){ res.send('hello world'); }); which is to display in browser upon receiving request on Port defined. What other uses are there of the command ...
0
votes
0answers
3 views

Where can i see hubot logger messages?

I am new to hubot and there i see a statement robot.logger.debug "trying gitio on #{commit.url}" Can someone tell me where can i see this debug message. I am using ./bin/hubot command to run it. ...
0
votes
1answer
7 views

Why do we need buffers in node.js?

To display the contents of the file in browser using node, I first tried this: var express = require('express') , fs = require('fs') , app = express() , port = process.env.PORT || 5000; ...
0
votes
0answers
20 views

mongodb json into json

Im trying to get a json obj into a json table (via node js) in the end it should look like (2 layered object) { "Name": "bla", "List": "bla", "info": { "info1": "bla", "info2": ...
-1
votes
0answers
20 views

express & backbone integration

ok, I am new to web dev and here's a stupid question. I have been through a few tutorials for node,express and backbone individually, but I can't seem to wrap my head around how they are integrated. ...
0
votes
2answers
14 views

Variable suddenly becomes undefined in the callback to an Angular $resource function

I'm building a function in Node that queries my mongoDB database and returns some results into an object. I'm having trouble getting the object set up correctly though. Here's my code: Function to ...
1
vote
1answer
21 views

How do do a callback after redirect in expressjs

I am redirecting to a page using res.redirect('/pageOne'); so after the redirect i want call a function , But when i called the function res.redirect('/pageOne'); callBack(); I found that the ...
0
votes
1answer
19 views

mongodb doesn't save all data

I need to insert some matrix in mongodb,so I wrote simple following code var MongoClient = require('mongodb').MongoClient; var matrisMaker = function(d1,d2){ var result = new Array(); for ...
0
votes
1answer
11 views

Express is rewriting the body on a curl call

I am new to node js & express. I was able to get my first Node JS form today and it is working as expected. So I wanted to recreate the same on Express, but for some reason I am programmatically ...
0
votes
1answer
12 views

Why does my decipher.final fail given an incorrect key?

Problem and App BG: So I'm creating a nodeJS application which stores some sensitive data, and I would like to encrypt everything. But when I try to decrypt some data with the wrong key, I get a ...
1
vote
0answers
26 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
11 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
15 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
22 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
20 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 ...

1 2 3 4 5 1674
15 30 50 per page