Skip to content

Commit 55ebf9c

Browse files
authored
Update README.md
1 parent f34d078 commit 55ebf9c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,30 @@ console.log(exists) // => true
4040

4141
## API
4242

43-
### existsFile(file, [cb])
43+
### existsFile(filepath, [cb])
4444

45-
#### file
45+
#### filepath
4646

4747
*Required* <br>
4848
Type: `string`
4949

50+
The relative or absolute file path.
51+
5052
#### cb
5153

5254
Type: `function`
5355

5456
If `cb` is not provided then it returns a `promise`.
5557

56-
### existsFile.sync(file)
58+
### existsFile.sync(filepath)
5759

58-
#### file
60+
#### filepath
5961

6062
*Required* <br>
6163
Type: `string`
6264

65+
The relative or absolute file path.
66+
6367
## License
6468

6569
MIT © [Kiko Beats](https://www.kikobeats.com)

0 commit comments

Comments
 (0)