uniqf
v0.2.1
Published
Make a file name unique by appending a cryptographic hash
Downloads
3
Readme
uniqf
Make a file name unique by appending a cryptographic hash.
Example
var uniqf = require('uniqf');
uniqf('test/files/hasselblad.jpg', function (err, name) {
console.log(name);
});
Mehods
var uniqf = require('uniqf');
uniqf(file, cb (err, name) {})
Generate a new unique file name
based on the given file
.
License
MIT