{"id":19560636,"url":"https://github.com/zoubin/realpathify","last_synced_at":"2026-06-19T10:31:17.438Z","repository":{"id":57348873,"uuid":"38483347","full_name":"zoubin/realpathify","owner":"zoubin","description":"plugin for browserify to resolve symlinks to realpaths, to make transforms work for symlinked local modules","archived":false,"fork":false,"pushed_at":"2016-01-15T15:25:30.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-16T03:02:04.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zoubin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-03T09:01:57.000Z","updated_at":"2016-01-15T15:25:31.000Z","dependencies_parsed_at":"2022-08-28T01:40:36.689Z","dependency_job_id":null,"html_url":"https://github.com/zoubin/realpathify","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/zoubin/realpathify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoubin%2Frealpathify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoubin%2Frealpathify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoubin%2Frealpathify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoubin%2Frealpathify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoubin","download_url":"https://codeload.github.com/zoubin/realpathify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoubin%2Frealpathify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34528134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T05:08:21.155Z","updated_at":"2026-06-19T10:31:17.418Z","avatar_url":"https://github.com/zoubin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# realpathify\n**Deprecated**\n\nBrowserify has fixed the problem in this [commit](https://github.com/substack/node-browserify/commit/504832b4b9fde30c36877122b265ddccbea7be77).\n\nplugin for browserify to resolve symlinks to their realpaths, to make transforms work for symlinked local modules\n\nsubstack has recommended a nice way of organizing your local modules in [browserify-handbook](https://github.com/substack/browserify-handbook#symlink).\n\nHowever, transforms applied in browserify won't work on modules whose [resolve](https://www.npmjs.com/package/resolve)d paths containing `node_modules` by default. So, if you symlink your local modules in `node_modules`, you probably have to figure out some way to make transforms applied to them.\n\nThis module presents a way to do that, by hacking `b._bresolve`, to make it resolve symlinked subdirectories in `node_modules` to their real paths, so `module-deps` won't treat them as global modules, and apply transforms to them.\n\n## Usage\n\n```javascript\nvar b = browserify(bOpts);\nvar realpathify = require('realpathify');\nb.plugin(realpathify, { filter: ['local_module'] });\n\n```\n\n## b.plugin(realpathify, opts)\n\n### opts\n\n#### filter\n\nType: `String`, `Array`\n\n`Optional`\n\nIf you specified the `filter` option, then only subdirectories contained in it will be realpathified. It makes `realpathify` work more fast.\n\nIf not specified, `realpathify` will try to resolve all subdirectories in `node_modules`.\n\n## realpathify.async(asyncResolve, filter)\n\nReturn a realpathified async resolve function.\n\n## realpathify.sync(syncResolve, filter)\n\nReturn a realpathified sync resolve function.\n\n## realpathify.realpath(file, filter, cache)\n\nResolve `file` to realpath.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoubin%2Frealpathify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoubin%2Frealpathify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoubin%2Frealpathify/lists"}