• Node.js

February 12, 2020, at 11:40 PM

I am building an API that needs to accept file uploadsSo a user can POST a file to an endpoint, the file will be sent to a virus scan, then if it's clean will be sent to storage (probably S3)

February 12, 2020, at 7:50 PM

I building a boildplate for nestjs and microservices (still work in progress)

February 12, 2020, at 7:40 PM

I have no idea how to get around this, but i have a new Word Add-in project using node (Yo), and when i run "npm start" i am getting this error:

February 12, 2020, at 7:30 PM

My code is:

February 12, 2020, at 7:20 PM

After trying payment-creation API Of Razorpay below Error response is getting

February 12, 2020, at 7:10 PM

Greetings all socket IO experts, I have a scenario i have written a global function to send private messagesWhenever a user sends private message, inside the global function i retrieve socket

February 12, 2020, at 6:50 PM

It is more a question of strategy to take, not how to write the codeSo I'm trying to implement cookie based authentication

February 12, 2020, at 6:40 PM

The only library which does it is PDFKitBut it doesn't have a lot of features

February 12, 2020, at 6:20 PM

I'm writing an Electron-vue application on Ubuntu 1804 where the main routine involves calling some methods inside a C++ library I wrote that uses cv::VideoCapture for processing a given video frame by frame

February 12, 2020, at 6:10 PM

Good morning everyone! Since yesterday, I try to define a route for a simple nodejs apiIn my case the server calls the express module, it also calls the file 'messCtlr

February 12, 2020, at 5:50 PM

I'm testing a nodejs api, but it allows 5 requests per second

February 12, 2020, at 5:30 PM

I am doing some research for a home project and I'm looking into the Cluster Module and Worker Threads

February 12, 2020, at 5:20 PM

I'm trying to create a cookie that would be equal to 1but when console log- it's undefined all the time! is someone recognizing where is the error in here?

February 12, 2020, at 5:10 PM

Assume that I want to make a bar chart in HTMLI use node

February 12, 2020, at 5:00 PM

I am fixing an error message which occurred, but it also used to work beforeI am sending FCM notification with multiple tokens and am getting the following error

February 12, 2020, at 4:50 PM

I don't know it can be achieved or notBut I'm asking if it's possible to launch Indesign through electron and create somthing in Indesign and save the file but once I exit the Indesign App can I get the saved work in my Electron Application?

February 12, 2020, at 4:40 PM

Suppose i have a file : main2js

February 12, 2020, at 4:30 PM

I am using the greenlock-express libary for nodejs

February 12, 2020, at 4:00 PM

I want to interlink 3 models "cash transfer", "sub account details", "bank deposits"What i want to do is these three have a common get required "Current_balance"

February 12, 2020, at 3:50 PM

Please am too confuse now ! Am running a login system, using node express and mongodbam done with the routing and saving data to mongo

February 12, 2020, at 3:40 PM

Getting some error while installing mongoose through command prompt Couldnt rectify it

February 12, 2020, at 3:30 PM

I've the data of a censorIt consists of current and previous month's data as an array of objects

February 12, 2020, at 3:20 PM

The above code segment gives the current home directory easily when the application runs on the host machineAfter dockerizing, it returns "root" as the home directory and it should be probably the docker container's home directory

February 12, 2020, at 3:10 PM

I have a nodejs application which sends requested files from path, I want to modify and update the "src" & "href" tags before sending them, I'm using ressendFile("path to file") but I want to modify this file before sending, Is there any way by which I can do that

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.