jamesbloomer / node-get-unique-filename

Get a unique filename using incremental version numbers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Get a unique filename using incremental version numbers

License:MIT License


Languages

Language:JavaScript 100.0%