2.0.1 • Published 8 months ago

fifofile v2.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

fifofile

Userland FIFO file.

npm install fifofile

Usage

To consume, in any process

const FIFOFile = require('fifofile')

for await (const msg of new FIFOFile('/tmp/my-fifo')) {
  console.log('incoming:', msg)
}

To produce, in any process

const FIFOFile = require('fifofile')

const fifo = new FIFOFile('/tmp/my-fifo')

fifo.write(Buffer.from('a msg'))

License

Apache-2.0

2.0.1

8 months ago

1.1.6

11 months ago

1.1.5

11 months ago

2.0.0

11 months ago

1.1.4

12 months ago

1.1.3

12 months ago

1.1.2

12 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.0.0

1 year ago