0.1.5 • Published 4 years ago

fs-sink v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

FS Sink (BOB)

A file system sink for the BOB streaming protocol.

Usage

const FileSink = require('fs-sink')
new FileSink(path, options)

Implements a BOB sink to a file.

Example

const FileSink = require('fs-source')

const source = new MyBOBSink()
const sink = new FileSink('my-file')

sink.bindSource(source)
sink.start(error => {
  if (error)
    console.error('Stream returned error ->', error.stack)
  else {
    console.log('ok')
  }
})

See test-basic for a good working example.

License

MIT LicensedContributions via DCO 1.1

0.1.5

4 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago