XpmLiquidSubstitutionsVariables.path property
Path separators and delimiters from Node.js path module.
Signature
path: {
delimiter: string;
sep: string;
win32: {
delimiter: string;
sep: string;
};
posix: {
delimiter: string;
sep: string;
};
};
Remarks
Provides platform-specific path constants for building file paths in templates. Use these to construct paths that work correctly on all platforms.
Available constants:
path.sep: Platform-specific path separator (/ or ).path.delimiter: Platform-specific PATH delimiter (; or :).path.posix.\*: Force POSIX conventions regardless of platform.path.win32.\*: Force Windows conventions regardless of platform.
Note: For path manipulation, prefer using Liquid filters like path_join, path_dirname, etc., which handle cross-platform concerns automatically.
See [Node.js path module documentation](https://nodejs.org/dist/latest-v16.x/docs/api/path.html)
Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.