[nodejs] Use of global variable in node js

2017-03-27 Thread SURAJ KUMAR CHANDRA
How do you guys use node js vars. Please refer to red marking. I am declaring variable at one place trying to use at another place, simply not working. function login(email,password){ // Returns the login data row var email = email.trim().toLowerCase(); var password = password.trim();

Re: [nodejs] platform

2017-03-27 Thread Jeremy Darling
2nd response from google for exactly that question answers this best: (from http://stackoverflow.com/questions/35238667/is-npm-dependent-on-the-os-of-a-computer with slight inline edits) The binary, npm, that you install is platform dependent, as is node.js. That's why there are different

[nodejs] NAN AsyncWorker vs libuv thread pool

2017-03-27 Thread Bill Klein
My understanding is that NAN's AsyncWorker makes use of libuv's thread pool which defaults to 4 threads. In my case, some of my node module's AsyncWorkers may run relatively long, though they are not CPU intensive, so I can't limit to 4 threads... Is there any risk in increasing

[nodejs] CRUD sample using Node and Mongo DB on the back end and JS on the front end

2017-03-27 Thread Giorgi
I wanted to share this project of mine, which is a CRUD app with Node and Mongo DB on the back end and JS on the front end https://github.com/giorgim/MovieManagementApp Hope someone will find it useful. -- Job board: http://jobs.nodejs.org/ New group rules:

[nodejs] platform

2017-03-27 Thread htuwf25
hello Is node.js is platform dependent or independent ? -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this