hash-rename-file
hash and rename file, support (tp, fnt) type
How to use
var hrf = ;var opt = base: 'res' // destPath retain src dir info type: 'tp' // file type, support ('tp', 'fnt', 'spine', 'normal'), default: 'normal' num: 7 // append hash bit num to filename, such as: filename_1234567.png;;
Installation
npm install --save hash-rename-file
Tests
npm installnpm test