• Node.js

March 05, 2021, at 01:50 AM

i created a quiz App with NodeJs, storing the questions and answers in MongoDb and using Hanbldebars but i ran into a problemThe code works fine but as you can see the correct answer to the questions appears always in the first place, making the game totally dumb

March 03, 2021, at 6:10 PM

I'm attempting to create an app that can access a directory in the app's directory, zip it with JSZip and send it to an API at the press of a single button

March 02, 2021, at 12:10 PM

I would like to know if Google Node library uses gRPC or notI don't find any option to raise Question against Git repo so looking for guidance here

February 28, 2021, at 03:20 AM

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post

February 26, 2021, at 11:10 PM

I was looking for a cool way I could automate some interesting news articles on my discord serverI wanted to use webhooks at first but then decided to go with APIs

February 25, 2021, at 5:30 PM

Is there a way to build a package-lockjson from what exists in node_modules?

February 24, 2021, at 12:20 PM

After running npm init react-app new-app --template typescript it simply creates a javascript template project, not typescriptI want to create a typescript project using CLI

February 21, 2021, at 10:00 AM

please, help me understand how to switch my Telegram bot from polling to webhookI have a VPS server where my bot is deployed

February 18, 2021, at 6:10 PM

I am looking for a solution which allows me to digitally sign pdf documents with a X509 Certification from a python application within a Linux environment

February 17, 2021, at 11:40 AM

I'm getting this error:

February 15, 2021, at 01:20 AM

So I have this problem with displaying phone numbers for userConsole output is displaying numbers, and my user interface is displaying the right amount of rows but not numbers themselves

February 13, 2021, at 7:40 PM

I am finding it hard to consume data from the API i hosted on heroku using Axios

February 12, 2021, at 3:30 PM

I want to do some changes to an npm-module I already installed in node-modules folder

February 11, 2021, at 10:00 AM

I need to find object if it existsCollection is as below:

February 10, 2021, at 00:20 AM

I have installed git-bash in windows 10After that, I installed http-server and lerna globally using -g

February 08, 2021, at 7:20 PM

I am trying to remove all the rows that don't have the value '2A' or '2B' but whenever I execute the code it deletes every row except the first one

February 07, 2021, at 00:30 AM

To generate ajs file, I'm trying to convert a string like that :

February 05, 2021, at 4:10 PM

I am writing a script that should be able to search through shared drive files by file name

February 04, 2021, at 11:20 AM

I developed a NodeJS project with the Express frameworkI could successfuly compile my project in an "

February 01, 2021, at 4:10 PM

I have created a MERN application with a separate backend and frontendI have added support for Google Oauth2 login using passport-google-oauth20 npm package

January 30, 2021, at 02:40 AM

I am pretty new to nodejs and currently I met a question in NodejsI am currently try to use the aws eks api to fetch the eks nodegroup seeting, the sample code is below

January 28, 2021, at 12:50 PM

Here is my code

January 27, 2021, at 08:50 AM

I have field users in document and this field contains two element in arrayI have to check specific two values are in this array

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.