Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Web Technologies
40.3k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Interview Experiences
13.6k+ articles
School Learning
11.7k+ articles
JavaScript
11.5k+ articles
Java
10.1k+ articles
Node.js
3.4k+ articles
Node.js-Methods
390+ articles
Node.js-path-module
11 posts
Popular Articles
Recent Articles
Node.js Path Module Complete Reference
Last Updated: 07 December 2022
The Path Module in Node.js provides the utilities for working with file and directory paths.Example:[tabby title="Javascript"][sourcecode la
...read more
Web Technologies
Node.js
Node.js-path-module
Node.js path.format() Method
Last Updated: 08 October 2021
The path.format() method is used to return a path string from the given path object. The method has some rules where one path property gets
...read more
Web Technologies
Node.js
Node.js-path-module
Node.js path.toNamespacedPath() Method
Last Updated: 08 October 2021
The path.toNamespacedPath() method is used to find the equivalent namespace-prefixed path from the given path. This method is meaningful onl
...read more
Web Technologies
Node.js
Node.js-path-module
Similar Topics
Web Technologies
40.3k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Interview Experiences
13.6k+ articles
School Learning
11.7k+ articles
JavaScript
11.5k+ articles
Java
10.1k+ articles
Node.js
3.4k+ articles
Node.js-Methods
390+ articles
Node.js path.delimiter Property
Last Updated: 11 October 2021
The path.delimiter property is an inbuilt application programming interface of the path module which is used to get platform-specific path d
...read more
Web Technologies
Node.js
Node.js-path-module
Node path.resolve() Method
Last Updated: 15 March 2025
The path.resolve() method takes a sequence of paths or path segments and resolves them into an absolute path. It processes the paths from ri
...read more
Web Technologies
JavaScript
Node.js
Node.js-path-module
Node.js path.join() Method
Last Updated: 17 October 2024
The path.join() method in Node.js is part of the Path module, which is used for handling and transforming file paths. The method is used to
...read more
Web Technologies
Node.js
Node.js-path-module
Node.js path.extname() Method
Last Updated: 13 October 2021
The path.extname() method is used to get the extension portion of a file path. The extension string returned from the last occurrence of a p
...read more
Web Technologies
Node.js
Node.js-path-module
Node.js-Methods
Node.js path.isAbsolute() Method
Last Updated: 13 October 2021
The path.isAbsolute() method is used to check whether the given path is an absolute path or not. An absolute path is defined as a path that
...read more
Web Technologies
Node.js
Node.js-path-module
Node.js-Methods
Node.js path.dirname() Method
Last Updated: 13 October 2021
The path.dirname() method is used to get the directory name of the given path. It ignores the respective platform's trailing directory separ
...read more
Web Technologies
Node.js
Node.js-path-module
Node.js path.relative() Method
Last Updated: 13 October 2021
The path.relative() method is used to find the relative path from a given path to another path based on the current working directory. If bo
...read more
Web Technologies
Node.js
Node.js-path-module
Node.js path.basename() Method
Last Updated: 13 October 2021
The path.basename() method is used to get the filename portion of a path to the file. The trailing directory separators are ignored when usi
...read more
Web Technologies
Node.js
Node.js-path-module
1
1
1
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !