0.1.0 • Published 8 years ago
snapy-stream v0.1.0
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.
0.1.0
8 years ago