GitShow/sindresorhus/realpath
sindresorhus

realpath

Expands symbolic links and prints the resolved absolute filepath

by sindresorhus
Star on GitHubForknpm

JavaScript

27 stars4 forks2 contributorsQuiet · 2y agoSince 2015v3.0.0MIT

Meet the team

See all 2 on GitHub →
sindresorhus
sindresorhus12 contributions
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
beenotung
consider to support `-s` and `--relative-to` as it does on linuxClosedIssue

I'm looking for solution to provide realpath shim on macos to match the behavior as on linux. I was going to make a cli package and did a name clash checking, then I saw your package :)

beenotung · 2y ago
Richienb
Move to GitHub ActionsMergedPR
Richienb · 5y ago
isaacs
Use this module name for a forward-compatible fs.realpath?ClosedIssue

In Node 6, was changed in such a way that it can raise new errors and can no longer handle long paths or looped symbolic links. I'd like to make a fill-in module that tries to use , and then, on Node 6 and above, handle those failures by falling back to the slower-but-more-resilient js implementation. Would you be open to a PR to add a lib component to this module?

isaacs · 10y ago
Structured data for AI agents

Repository: sindresorhus/realpath. Description: Expands symbolic links and prints the resolved absolute filepath Stars: 27, Forks: 4. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v3.0.0 (2y ago). Open PRs: 0, open issues: 0. Last activity: 2y ago. Community health: 71%. Top contributors: sindresorhus, Richienb.

·@ofershap

Replace github.com with gitshow.dev