# path

Namespace · category: Other

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/core/path.js#L6

File path API.

## Members

- [delimiter](https://api.playcanvas.com/engine/variables/path.delimiter.md): The character that separates path segments.
- [extractPath](https://api.playcanvas.com/engine/functions/path.extractPath.md): Return the path without file name.
- [getBasename](https://api.playcanvas.com/engine/functions/path.getBasename.md): Return the basename of the path.
- [getDirectory](https://api.playcanvas.com/engine/functions/path.getDirectory.md): Get the directory name from the path.
- [getExtension](https://api.playcanvas.com/engine/functions/path.getExtension.md): Return the extension of the path.
- [isRelativePath](https://api.playcanvas.com/engine/functions/path.isRelativePath.md): Check if a string s is relative path.
- [join](https://api.playcanvas.com/engine/functions/path.join.md): Join two or more sections of file path together, inserting a delimiter if needed.
- [normalize](https://api.playcanvas.com/engine/functions/path.normalize.md): Normalize the path by removing '.' and '..' instances.
- [split](https://api.playcanvas.com/engine/functions/path.split.md): Split the pathname path into a pair [head, tail] where tail is the final part of the path after the last delimiter...
