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.
13
votes
0answers
395 views
SDCH compression for Node?
Is there a SDCH (Shared Dictionary Compression over HTTP) library for Node? (Or any other implementations for that matter?)
A quick search on npm yielded nothing.
7
votes
0answers
267 views
How to do this PKCS7 signing in node.js?
So I'm porting a ruby library to node.js, and need to create a PKCS7 signature.
Here's what the ruby lib is doing:
p12_certificate = OpenSSL::PKCS12::new(File.read('some-path.c12'), ...
4
votes
0answers
51 views
Error when building brunch with banana pancakes
I created a brunch project with the banana pancakes skeleton
brunch new brunchtest -s github://Anaphase/brunch-banana-pancakes
Then when building I get an error
cd brunchtest
brunch build
-> ...
4
votes
0answers
71 views
how to authenticate socket.io websockets with user password and developer password
I need to authenticate socket.io client connections with the client's username, password and additionally with developer password (developer password is used to ensure that the service is only used by ...
4
votes
0answers
167 views
How to add “Remember Me” to my app with passport
I need a "Remember Me" checkbox when logging in like this .
And I add a middleware before using passport
app.use(function (req, res, next) {
if (req.method == 'POST' && req.url == '/login') {
...
4
votes
0answers
139 views
How can I encode and segment audio files without having gaps (or audio pops) between segments when I reconstruct it?
I'm working on a web application that requires streaming and synchronization of multiple audio files. For this, I am using the Web Audio API over HTML5 audio tags because of the importance of timing ...
4
votes
0answers
217 views
Does dnode have authentication middleware?
I'm building an express app that uses everyauth and would like to use dnode. I want to be able to use the req.loggedIn boolean set up, but for dnode rpc calls.
Can this be done by having dnode ...
3
votes
0answers
33 views
Sandboxed plugins for Node.js
I'm a complete Node noob, so I apologize if this question has an obvious answer.
I'm looking to create a web app that will run plugins from untrusted sources (i.e. community submissions). So I need ...
3
votes
0answers
105 views
Shared authentication between rails and node.js with redis store
I have a rails app and a node.js app and I use Devise to authenticate users. I store the session with Redis. Now I'd like that when a user go to the node app, the app checks through socket.io whether ...
3
votes
0answers
83 views
Creating Google Calendar Events using API doesn't create Hangout link
I've been successful so far in hacking together the googleapis and gapitoken packages to create events on a Google Calendar via the API. The point of all this was to find a way to programmatically ...
3
votes
0answers
270 views
How to fix WebStorm not recognizing some Node.js Express properties?
After execute express mysite and `npm install -d I opened the generated directory with WebStorm, the following Express methods aren't recognized by the IDE:
app.use(express.favicon());
...
3
votes
0answers
121 views
Use jasmine-node to test meteor application with auto-test
I'm using jasmine-node to test my Meteor application and I want to use the auto-test feature so I don't have to rerun the tests all the time by myself.
My meteor application folder structure is like ...
3
votes
0answers
471 views
Nodejs + phantomjs vs. pure phantomjs - page load time
I was poking around recenlty exploring nodejs and phantomjs and wrote a small code to measure the page load time. I have found that page load times differ between the phantomjs code wrapped in nodejs ...
3
votes
0answers
333 views
Meteor exception in Meteor.flush when updating a collection breaks reactivity across clients
When I'm calling Collection.update from the front end (the method call is allowed), the update does work ok, but the exception below is being thrown (in Chrome's JS console, not in the server). ...
3
votes
0answers
185 views
PKCS#7 data payload unpacking with NodeJS?
I'm working on an MDM NodeJS server for iOS. On the Apple docs, the following ruby code is given :
p7sign = OpenSSL::PKCS7::PKCS7.new(req.body)
store = OpenSSL::X509::Store.new
...