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 (2)

0
votes
0answers
10 views

How do I remove the need to convert _id (as a string) to new ObjectID(string) in nodejs / mongodb native library?

Each time I have to perform a query involving _id, I have to do new ObjectID( _idAsString) in order for it to work. I realize mongo tests the object, not the value itself, but this is adding a lot of ...
0
votes
0answers
8 views

node.js OpenID provider implementation

Does anyone know good OpenID provider implementation in node.js? Maybe node module? I am using passportjs to implement Relaying Party functionality.
2
votes
2answers
16 views

Finding process id of a Node.js server in Windows

To find a process id of a node.js server in unix, we use below code: if (process.getgid) { console.log('Current gid: ' + process.getgid()); } So I get output as 1888 in *nix OS, but when I ...
1
vote
1answer
14 views

installing nodejs without dependencies

Hi i am having a ubuntu server which will not have any internet connection. I need to install node and all npm related packages to it.I have the source file of nodejs and all the node modules. Is ...
0
votes
0answers
6 views

Uploading photos to Tumblr from Meteor through tumblrwks

I'm having issues uploading photos from Meteor to Tumblr serverside using node package tumblrwks. Posting text posts work fine. I think this is related to how the image is encoded. Tumblr API says to ...
0
votes
1answer
11 views

Why node.js can not find the avconv?

Why using the exec in node.js: child = exec("avconv -i " + result.params.fullDestinationFilename + " -ab 128k -vcodec libx264 -vb 2000k -r 24 -s 1280x720 " + convertedFileName720p + ".mp4", function ...
0
votes
1answer
9 views

Publish a WCF RESTful web service with Node JS

Is it possible to publish a WCF RESTful web service with Node JS? If yes then please point me to tutorial/article on this topic. I came to know about wcf.js library but I think it only supports SOAP ...
0
votes
0answers
6 views

In couchDB using cradle library we can add the design documents easily but using sag library how to add design documents.

In my node application i need to create design documents in CouchDB using sag library(http://www.saggingcouch.com/).The below code will create design documents using cradle ...
0
votes
0answers
21 views

Backbone fetch, calls both error and succes

I'm new to Backbone and I was trying to retrive an JSONP from a nodejs server. My problem is that both error and succes methode are called. Can you please tell me what am I doing wrong? var ...
4
votes
2answers
31 views

How to get JSON from a distant server in an express server?

I'm looking a way to replicate the jQuery method getJSON but server side. The server I'm using is a node.js server with express framework written in coffeescript. The code I have client side is : # ...
0
votes
0answers
9 views

how to display extracted file contain image in node.js

i am trying to upload and display image previously i have uploaded one zip file and extracted it and and overwritten it into image folder so i have configured like this ...
0
votes
0answers
15 views

Dealing with socket.io async get/set calls

I'm trying to interrogate if any of the clients in a room have a particular property associated with them. The async nature of the socket.io get method is causing me problems. I've seen the async ...
0
votes
0answers
15 views

How to connect from client js to server js send and fetch data using node js

Using node.js I started server, I open browser and it loads index file in that page, a button is there. If I click on that button I need to connect to server and fetch data from MySQL and display it ...
0
votes
0answers
10 views

Calling a https web service in node.js (Behind proxy)

I am trying to call a https web service from node.js. I am behind a proxy, so i am providing the proxy and port in the options along with the credentials. But i am getting the following error [Error: ...
0
votes
0answers
17 views

Angularjs on server

Is it possible to use angularjs services like $q and $http on server side nodejs code? I have to frequently share code between server and client making it necessary to use libraries that work both on ...

1 2 3 4 5 1463
15 30 50 per page