0.1.0 • Published 7 years ago

snapy-stream v0.1.0

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

snapy-stream

Plugin of snapy.

Take a snapshot of a stream.

{test} = require("snapy")

test((snap) => {
  // simple
  snap({stream: someStream})

  // transform stream to obj
  snap({
    obj: {
      someProp: someStream,
      someOtherProp: someOtherStream
    },
    stream: "someProp, someOtherProp",
    encoding: "utf8" // default
    })
})

License

Copyright (c) 2017 Paul Pflugradt Licensed under the MIT license.