• Node.js

October 20, 2021, at 02:40 AM

I have used the Npm package, http-proxy-middleware

October 18, 2021, at 2:40 PM

I have been able to set up my virtual machine on google cloud platform and am able to SSH into my RPi successfully using this tutorial:

October 17, 2021, at 00:40 AM

My apologies if this is a noob question but, is it possible to configure a docker-compose file to get an already-existing Mongo Atlas database working as part of a docker network?

October 15, 2021, at 07:50 AM

Want to improve this question? Add details and clarify the problem by editing this post

October 14, 2021, at 01:50 AM

I just started a Udemy course on Nodejs

October 11, 2021, at 10:30 AM

I am making a typescript/javascript program that uses puppeteer and puppeteer-stream to record the browserI am then using FFmpeg to render the video from puppeteer-stream while it's being recorded

October 10, 2021, at 00:00 AM

I have this data

October 08, 2021, at 1:30 PM

I have to extract data from XML files with the size of several hundreds of MB in a Google Cloud Function and I was wondering if there are any best practices?

October 07, 2021, at 06:30 AM

I have a tsoa request, where I'm trying to include a custom required header, but it can only be added as optional like this@Header('X-Correlation-Id') correlationId?: string I really would like it to be required, is there away to achieve this?

October 05, 2021, at 4:10 PM

I am working with some legacy code, and have come across this which causes errors in WebPack

October 04, 2021, at 01:50 AM

Want to improve this question? Update the question so it's on-topic for Stack Overflow

October 02, 2021, at 08:10 AM

i am using firebase realtime database for my projects backend, but i have come upon a problem with making the security rulesI use REST to communicate with the database and to authorize the REST request i send an idToken as the query of the "auth=" parameter, as per https://firebase

September 30, 2021, at 11:20 AM

I have just started learning NodeJsmy first project is a webcam stream broadcast in 2 pages

September 29, 2021, at 03:00 AM

I facing with case when I trying to get duration from uploaded files , used for it two packages: https://wwwnpmjs

September 25, 2021, at 11:40 PM

If I understood the refresh token rotation right, it means that every time we request a new access token, we also get a new refresh tokenIf a refresh token is used more than once - we invalidate all the refresh tokens that a certain user previously used, and a user has to go through the authentication process again

September 24, 2021, at 6:40 PM

While installing firebase using npm install firebaseI am getting the error

September 23, 2021, at 07:50 AM

I'm working on a simple scrapper but I can't get past this issueIt returns an empty array everytime I run it, however the site does contain the elements and returns a NodeList when I run querySelectorAll on the console

September 22, 2021, at 03:10 AM

I'm getting an empty documentation when try to generate that

September 20, 2021, at 11:10 AM

I've tried many things to solve this issueI'm trying to import from absolute paths defined on my tsconfig

September 18, 2021, at 11:20 AM

I have an onCreate cloud function that hits an API but I need to be sure that it never hits it twiceCloud function triggers can execute more than once and we are encouraged to use the eventId for idempotency

September 16, 2021, at 7:40 PM

I have two post requests so my appjs file has two handlers

September 15, 2021, at 12:00 PM

I am reading about error handling, and the book says

September 11, 2021, at 4:20 PM

I want to implement GET request with OAuth 1 flow

Show more
How to use $.when in node.js? [duplicate]

How to use $.when in node.js? [duplicate]

This question already has an answer here:.

Add node to Tree

Add node to Tree

I decided to use nested sets model. [nnn]My table has columns: id, name, lft, rgt, parent_id.

javascript/jquery: on click copy relevant array items to new array

javascript/jquery: on click copy relevant array items to new array

I think I'm missing an obvious answer. I have an array of arrays, like this.