Prerequisites: Node.js 26 or newer, native ESM, and an installed copy
of @eliware/path. Run the example from the repository root after
npm install:
node examples/example.mjs
The example only composes and prints paths; it does not read or write files. Do not replace its sample path segments with secrets or production-specific identifiers.
- Basic usage — a runnable walkthrough with expected output.
- Basic example source — the directly runnable source file.
- ESM path utilities — default and named exports, URL conversion, absolute resolution, and relative paths.
Return to the root README for the complete API reference.