• Published 10 years ago
get-unique-filename v
node-get-unique-filename
Ask for a filename and the module calculates the next unused filename using incremental version numbers. eg. ask for dir/file.txt and it exists the return would be dir/file-1.txt