uniqf

Make a file name unique by appending a cryptographic hash

uniqf

Make a file name unique by appending a cryptographic hash.

var uniqf = require('uniqf');
 
uniqf('test/files/hasselblad.jpg', function (errname) {
  console.log(name);
});
var uniqf = require('uniqf');

Generate a new unique file name based on the given file.

Generate a new unique file name based on the hash of the given src and the filename of the given dest.

MIT