Questions tagged [event-stream]

This tag is for questions relating to event streams in HTTP. Event streams are an easy way for a server to have a continuous connection with the client and send data back and forth.

137 questions
0
votes
1 answer

Does event-stream supports non utf-8 encoding in nodejs?

I'm trying to upload and parse file line by line by like the following: var fs = require('fs'), es = require('event-stream'), filePath = './file.txt'; fs.createReadStream(filePath) .pipe(new Iconv('cp866', 'windows-1251')) …
Erik
  • 14,060
  • 49
  • 132
  • 218
0
votes
1 answer

event-stream.js how can i refrence each line I.E (0) , (1) ect ect

okay i have a function within my node.js script using the event stream module. i can check the line data with the simple script i have below but i want to be able to use each line aswell. example of what i want line(0) --- first line of stdout…
user3407899
  • 139
  • 4
  • 16
1 2 3
9
10