Skip to content

snapyjs/snapy-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snapy-file

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

License

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