Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 17, 2019
1 parent d1f0fce commit 8a30b7c
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions readme.md
Expand Up @@ -129,27 +129,31 @@ const cpy = require('cpy');

###### path

Type: `string`
Type: `string`\
Example: `'/tmp/foo.bar'`

Resolved path to file. Example: `/tmp/foo.bar`.
Resolved path to the file.

###### name

Type: `string`
Type: `string`\
Example: `'foo.bar'`

Filename. Example: `foo.bar`.
Filename.

###### nameWithoutExtension

Type: `string`
Type: `string`\
Example: `'foo'`

File name without extension. Example: `foo`.
File name without extension.

###### extension

Type: `string`
Type: `string`\
Example: `'.bar'`

File extension. Example: `.bar`.
File extension.


## Progress reporting
Expand Down

0 comments on commit 8a30b7c

Please sign in to comment.