node.js tag

261 questions


1 answers
131 views
0
Recognize the regularly updated DB data and refresh it on the web

Hello, I am developing the web with node.js.I'm using mariadb.Suppose you have data from a Web client group as shown below.A 10 20 50B 30 30 50C 85 92 33If you have updated to 10->100 in A here, Th...

2 years ago

1 answers
40 views
0
I'd like to receive the result after receiving the source code and executing it on the server.

As the title saysI'd like to receive the result after receiving the source code and executing it on the server. The server is ubuntu 14.04 and I want to develop it as nodejs.I can't even search becaus...

2 years ago

1 answers
59 views
0
[Node.js] Among several calculations, a method of calling up a function and placing it at the top of the call stack when the conditions I want are met.

Hello.I have a question, so I'm posting it like this.I'll explain it with the code first.function a(){ // Function that takes 100-150 ms to spin once. time-consuming at for for(){ // Calculation, cal...

2 years ago

1 answers
50 views
0
I use Wijiwok, and how to process images

Implementing web as node.js + express.I know it's Wijiwok, so I'm implementing it as a summer note.However, the content of the text in Wijiwok <p>Hi</p><img src=\data:image/png;base64,i...

2 years ago

1 answers
40 views
0
The async module is not functioning properly in node.js.

Creating pagination. I am making a code that receives a page as a query string and loads DB as mongoose and throws it as a view accordingly.var page = req.query.page, perPage = 10;if(page||page!=0||pa...

2 years ago

4 answers
71 views
0
Implementation of a web screen to monitor DB's change data in real time

Hello.I came to Hashcode to solve the blockage after a long time.Thank you always for your reply.Developing in node.js environment.You are using mysql, and you have created a msg, value column, for ex...


1 answers
42 views
0
Questions about prototypes and inheritance processing on nodes.

Questions about prototypes and inheritance processing on nodes.I'm not good at handling prototypes yet.The source code below briefly blocked.Please check why there is an error;;;;;;JavaScript Prototyp...

2 years ago

1 answers
71 views
0
Javascript: Try-catch Overlapping

Hello.The three queries below are conditions, so I want to write a prerequisite first and write a condition statement, but if one of those queries is undefined, the code stops due to an error.const ge...


1 answers
36 views
0
It's node js. How do I process data synchronously?

const express = require('express');const app = express();var MongoClient = require('mongodb').MongoClient;var url = mongodb://192.168.0.60:27017/;MongoClient.connect(url, function(err, db) { if (err) ...

2 years ago

1 answers
135 views
0
Hide password entry from Node.js to console

Hi, how are you?Use the readline-sync package (https://www.npmjs.com/package/readline-sync)Use the code below to enter a password in the console, but you want to hide it with *ten thousandThere is an ...

« - 21 - »

© 2024 OneMinuteCode. All rights reserved.