Go's filepath package in TypeScript
Help us add more
Got a rainy Sunday afternoon and a taste for a porting puzzle?
- Get inspiration from Go strings documentation, Go strings source, Go strings examples source, GopherJS.
- Click "New file" in the appropriate folder on GitHub. This will fork the project to your account, directly add the file to it, and send a Pull Request to us.
We will then review it. If it's useful to the project and in line with our contributing guidelines your work will become part of Locutus and you'll be automatically credited in the authors section accordingly.
Upstream Surface Inventory 7/21 shipped • 7 next 33%
Namespace-level inventory for Go 1.23: what we already ship, what we may still want,
and what we intentionally skip or keep.
filepath
50%
shipped
7/14 shipped
7 next
7 explicit non-goals
Next
Filepath helpers are high-value plain string portability targets.
FromSlashIsLocalMatchSplitSplitListToSlashVolumeName
Explicit non-goals (7)
-
AbsAbsolute-path resolution depends on process working-directory state. -
EvalSymlinksSymlink resolution depends on filesystem state. -
GlobFilesystem globbing depends on host state. -
HasPrefixDeprecated path-prefix checks add little value to the roadmap. -
LocalizeOS-specific path localization depends on host path semantics. -
WalkFilesystem traversal depends on host state and callback side effects. -
WalkDirFilesystem traversal depends on host state and callback side effects.