snapdir 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.