Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/learn/manipulating-files/node-file-paths.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ You include this module in your files using `const path = require('path');` and

Given a path, you can extract information out of it using those methods:

* `dirname`: get the parent folder of a file
* `basename`: get the filename part
* `extname`: get the file extension
* `dirname`: gets the parent folder of a file
* `basename`: gets the filename part
* `extname`: gets the file extension

### Example

Expand Down