Use this guide to find the files that define the package and its public API.
src/index.mjs exports the public API.
Import the package name in an ESM module:
import path from "@eliware/path";The package includes TypeScript declarations in src/index.d.ts.
The declarations describe the runtime exports and public types.
The package does not provide a CommonJS entry point.
The npm package includes runtime modules, TypeScript declarations, guides, examples, and repository specifications.
The package also includes the README, release notes, license, and package instructions.
The package uses @eliware/log for structured logging.
src/path-base.mjs reads the starting directory from a module URL or string.
src/current-path.mjs composes and resolves paths.
src/conversions.mjs converts paths to file URLs.
src/file-url-to-path.mjs converts file URLs to paths.
src/create-path-helpers.mjs adds optional logging to the public helpers.
Read the usage guide to install the package and select a helper. Read the API reference for function inputs and results. Read operations and safety before you use paths from users.