snapdir

Snapshot a directory structure and file sha1's to keep track of what's changed between a static website deployment. Best used when leveraged with ApprovalTests.NodeJS.

Usage no npm install needed!

<script type="module">
  import snapdir from 'https://cdn.skypack.dev/snapdir';
</script>

README

snapdir Build Status

Getting Started

Install the module with: npm install snapdir

var snapdir = require('snapdir');

var result = sut.getTreeSync({
    globPattern: "sampleDir",  // required glob search pattern
    noSha: true                // default is false
});

License

Copyright (c) Jason Jarret 2014 . Licensed under the MIT license.