N
N
NazarJs2019-12-13 15:37:27
Node.js
NazarJs, 2019-12-13 15:37:27

How to find a file in a specified folder using nodejs?

How to find a file in a specified folder between 1gb and 2gb using nodejs? And how to get the path to these files?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Antsiferov, 2019-12-13
@NazarJs

https://repl.it/@AntsiferovMaxim/SeriousPapayawhip...

I
index0h, 2019-12-13
@index0h

Read the official fs documentation at your leisure . You need methods: fs.readdir and fs.stat .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question