From 8a30b7c8a6fb312ce72b1a21721e4dae6cca1218 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 17 Nov 2019 13:08:05 +0700 Subject: [PATCH] Update readme.md --- readme.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/readme.md b/readme.md index ffe59cd..7415dc7 100644 --- a/readme.md +++ b/readme.md @@ -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