Answer the question
In order to leave comments, you need to log in
How to read file line by line with custom delimiter?
There are large files with several million lines,
line-by-line reading is required, but not with a standard separator, \r\n
but with a custom one, because the file contains the following pattern:
строка 1: ...................
строка 2: ......РАЗДЕЛИТЕЛЬ
строка 3: ....................РАЗДЕЛИТЕЛЬ
Answer the question
In order to leave comments, you need to log in
You can use https://www.npmjs.com/package/streamsearch
It is used in busboy to parse http multipart/form-data, where just the fields are separated by a special delimiter
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question