ICI Modules: path
Modules by name : by typeOverview
The path module provides various functions for manipulating file system pathnames stored in strings. These functions allow pathnames to be split into their components, pathnames to be formed from components and the extraction of various portions of pathnames.Interface
The module provides the following functions and externally visible variables,
path.separator - path element separator
path.join - join two or more componenents to form a path
path.split - split a path into its components
path.basename - return filename portion from a pathname
path.dirname - return directory name portion of a pathname
path.extension - return the filename extension