@@ -60,7 +60,7 @@ example, `path.resolve('c:\\')` can potentially return a different result than
60
60
` path.resolve('c:') ` . For more information, see
61
61
[ this MSDN page] [ MSDN-Rel-Path ] .
62
62
63
- ## path.basename(path\ [ , ext\] )
63
+ ## ` path.basename(path[, ext]) `
64
64
<!-- YAML
65
65
added: v0.1.25
66
66
changes:
@@ -88,7 +88,7 @@ path.basename('/foo/bar/baz/asdf/quux.html', '.html');
88
88
A [ ` TypeError ` ] [ ] is thrown if ` path ` is not a string or if ` ext ` is given
89
89
and is not a string.
90
90
91
- ## path.delimiter
91
+ ## ` path.delimiter `
92
92
<!-- YAML
93
93
added: v0.9.3
94
94
-->
@@ -120,7 +120,7 @@ process.env.PATH.split(path.delimiter);
120
120
// Returns ['C:\\Windows\\system32', 'C:\\Windows', 'C:\\Program Files\\node\\']
121
121
```
122
122
123
- ## path.dirname(path)
123
+ ## ` path.dirname(path) `
124
124
<!-- YAML
125
125
added: v0.1.16
126
126
changes:
@@ -143,7 +143,7 @@ path.dirname('/foo/bar/baz/asdf/quux');
143
143
144
144
A [ ` TypeError ` ] [ ] is thrown if ` path ` is not a string.
145
145
146
- ## path.extname(path)
146
+ ## ` path.extname(path) `
147
147
<!-- YAML
148
148
added: v0.1.25
149
149
changes:
@@ -183,7 +183,7 @@ path.extname('.index.md');
183
183
184
184
A [ ` TypeError ` ] [ ] is thrown if ` path ` is not a string.
185
185
186
- ## path.format(pathObject)
186
+ ## ` path.format(pathObject) `
187
187
<!-- YAML
188
188
added: v0.11.15
189
189
-->
@@ -247,7 +247,7 @@ path.format({
247
247
// Returns: 'C:\\path\\dir\\file.txt'
248
248
```
249
249
250
- ## path.isAbsolute(path)
250
+ ## ` path.isAbsolute(path) `
251
251
<!-- YAML
252
252
added: v0.11.2
253
253
-->
@@ -282,7 +282,7 @@ path.isAbsolute('.'); // false
282
282
283
283
A [ ` TypeError ` ] [ ] is thrown if ` path ` is not a string.
284
284
285
- ## path.join(\ [ ...paths\] )
285
+ ## ` path.join([...paths]) `
286
286
<!-- YAML
287
287
added: v0.1.16
288
288
-->
@@ -307,7 +307,7 @@ path.join('foo', {}, 'bar');
307
307
308
308
A [ ` TypeError ` ] [ ] is thrown if any of the path segments is not a string.
309
309
310
- ## path.normalize(path)
310
+ ## ` path.normalize(path) `
311
311
<!-- YAML
312
312
added: v0.1.23
313
313
-->
@@ -350,7 +350,7 @@ path.win32.normalize('C:////temp\\\\/\\/\\/foo/bar');
350
350
351
351
A [ ` TypeError ` ] [ ] is thrown if ` path ` is not a string.
352
352
353
- ## path.parse(path)
353
+ ## ` path.parse(path) `
354
354
<!-- YAML
355
355
added: v0.11.15
356
356
-->
@@ -416,7 +416,7 @@ path.parse('C:\\path\\dir\\file.txt');
416
416
417
417
A [ ` TypeError ` ] [ ] is thrown if ` path ` is not a string.
418
418
419
- ## path.posix
419
+ ## ` path.posix `
420
420
<!-- YAML
421
421
added: v0.11.15
422
422
-->
@@ -426,7 +426,7 @@ added: v0.11.15
426
426
The ` path.posix ` property provides access to POSIX specific implementations
427
427
of the ` path ` methods.
428
428
429
- ## path.relative(from, to)
429
+ ## ` path.relative(from, to) `
430
430
<!-- YAML
431
431
added: v0.5.0
432
432
changes:
@@ -463,7 +463,7 @@ path.relative('C:\\orandea\\test\\aaa', 'C:\\orandea\\impl\\bbb');
463
463
464
464
A [ ` TypeError ` ] [ ] is thrown if either ` from ` or ` to ` is not a string.
465
465
466
- ## path.resolve(\ [ ...paths\] )
466
+ ## ` path.resolve([...paths]) `
467
467
<!-- YAML
468
468
added: v0.3.4
469
469
-->
@@ -504,7 +504,7 @@ path.resolve('wwwroot', 'static_files/png/', '../gif/image.gif');
504
504
505
505
A [ ` TypeError ` ] [ ] is thrown if any of the arguments is not a string.
506
506
507
- ## path.sep
507
+ ## ` path.sep `
508
508
<!-- YAML
509
509
added: v0.7.9
510
510
-->
@@ -534,7 +534,7 @@ On Windows, both the forward slash (`/`) and backward slash (`\`) are accepted
534
534
as path segment separators; however, the ` path ` methods only add backward
535
535
slashes (` \ ` ).
536
536
537
- ## path.toNamespacedPath(path)
537
+ ## ` path.toNamespacedPath(path) `
538
538
<!-- YAML
539
539
added: v9.0.0
540
540
-->
@@ -549,7 +549,7 @@ modifications.
549
549
This method is meaningful only on Windows system. On POSIX systems, the
550
550
method is non-operational and always returns ` path ` without modifications.
551
551
552
- ## path.win32
552
+ ## ` path.win32 `
553
553
<!-- YAML
554
554
added: v0.11.15
555
555
-->
0 commit comments