2.0.1 • Published 3 months ago

fifofile v2.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 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

3 months ago

1.1.6

6 months ago

1.1.5

6 months ago

2.0.0

6 months ago

1.1.4

7 months ago

1.1.3

7 months ago

1.1.2

7 months ago

1.1.1

7 months ago

1.1.0

7 months ago

1.0.0

8 months ago

0.0.0

8 months ago