path-ts
Isomorphic type-safe path utilities.
path-ts is a PathBuilder for filesystem and URL paths whose segments are checked by the type system. The same builder runs in Node, Deno, workers and the browser.
| npm package | path-ts |
| Source code | github.com/sister-software/path-ts |
| Publisher | Nirrius, LLC, doing business as Sister Software |
What it does
- Joins, resolves and relativizes paths with the result type carried through each call.
- Exposes one API over POSIX, Windows and URL path rules.
- Has no runtime dependencies.