Plugin of snapy.
Take a snapshot from a file:
{test} = require("snapy")
test((snap) => {
snap({file: "./package.json"}) // relative to cwd!
})
Creates a readStream and passes it to snapy-stream
Copyright (c) 2017 Paul Pflugradt Licensed under the MIT license.