unused-filename
Advanced tools
Comparing version 0.1.0 to 1.0.0
{ | ||
"name": "unused-filename", | ||
"version": "0.1.0", | ||
"description": "Get a unused filename by appending a number if it exists: `file.txt` → `file (1).txt`", | ||
"version": "1.0.0", | ||
"description": "Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "sindresorhus/unused-filename", |
# unused-filename [![Build Status](https://travis-ci.org/sindresorhus/unused-filename.svg?branch=master)](https://travis-ci.org/sindresorhus/unused-filename) | ||
> Get a unused filename by appending a number if it exists: `file.txt` → `file (1).txt` | ||
> Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt` | ||
@@ -38,3 +38,3 @@ Useful for safely writing, copying, moving files without overwriting existing files. | ||
Returns a `Promise` for a `string`. | ||
Returns a `Promise<string>`. | ||
@@ -41,0 +41,0 @@ ### unusedFilename.sync(filepath) |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
3462