Skip to main content

Questions tagged [node.js]

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.

Filter by
Sorted by
Tagged with
9 votes
2 answers
2k views

Context I have a node.js application that uses many other modules and libraries. Some of these modules pull details from process environment variables, such as URL's for databases, credentials, and so ...
rolfl's user avatar
  • 98.2k
8 votes
2 answers
381 views

More javascript (nodejs) to go with the passport wrapper I just posted: UserBook.js ...
Loki Astari's user avatar
  • 97.7k
11 votes
1 answer
622 views

First attempt was done here: My second attempt (now using jslint to make sure the spacing is correct and have incorporate the majority of the feedback from previous attempt). ...
Loki Astari's user avatar
  • 97.7k
9 votes
1 answer
92 views

Solved, question with improved code I've created a simple npm module and CLI program to get the latest GitHub and Bitbucket release from their APIs using Node.js. Please tell me if there's anything to ...
user avatar
8 votes
2 answers
301 views

On Arch Linux, there are 2 packages that provide the Rust toolchain: rust itself and rustup. When users try to install a package ...
404 Name Not Found's user avatar
6 votes
2 answers
501 views

I wanted to implement a selection sort and wanted to make sure that I'm doing it correctly. I wanted to do it in a way that's efficient and use recursion. Please let me know if I am doing this ...
Christopher Chen's user avatar
5 votes
1 answer
468 views

First attempt was done here Second attempt was done here Huge comment at top ...
Loki Astari's user avatar
  • 97.7k
3 votes
1 answer
73 views

Improved version of the original question I've created a simple npm module and CLI program to get the latest GitHub and Bitbucket release from their APIs using Node.js. Please tell me if there's ...
user avatar
3 votes
1 answer
2k views

I had to do a lot of IO stuff on my server running Node JS where I did not really care about the result of the operations. The list of incoming tasks could be huge, so I had to limit the number of ...
Endauriel's user avatar
  • 153
2 votes
2 answers
166 views

I have to identify added and deleted items between two objects with the same structure. ...
Elias Bobadilla's user avatar
2 votes
1 answer
592 views

I have a question about dependency injection and best practices when using simple classes which are meant to be created often, which have dependencies on external services. Here's a (vastly) ...
dvlsg's user avatar
  • 183
2 votes
1 answer
1k views

Application Summary I received a call from a client asking for a "simple app" that notified him via text message whenever a "Jeep Wrangler" is posted to Facebook Marketplace. It ...
John S.'s user avatar
  • 171
1 vote
2 answers
130 views

Background I have a REST API using MongoDB, Node.js and Express that makes a request to my NoSQL DB and depending on different results, I want to differentiate which error I send the customer. ...
Flame_Phoenix's user avatar