{"id":16625466,"url":"https://github.com/aleclarson/get-dev-paths","last_synced_at":"2025-09-16T03:32:23.350Z","repository":{"id":66177729,"uuid":"148927169","full_name":"aleclarson/get-dev-paths","owner":"aleclarson","description":"Search node_modules for locally developed packages","archived":false,"fork":false,"pushed_at":"2021-03-07T15:21:54.000Z","size":15,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T13:07:30.005Z","etag":null,"topics":["fs","node-modules","nodejs"],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aleclarson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-15T18:05:37.000Z","updated_at":"2022-08-16T20:59:28.000Z","dependencies_parsed_at":"2023-05-04T16:29:38.068Z","dependency_job_id":null,"html_url":"https://github.com/aleclarson/get-dev-paths","commit_stats":{"total_commits":12,"total_committers":3,"mean_commits":4.0,"dds":0.5,"last_synced_commit":"8e573c7a767cd7fed48885ff55e9a48e8a80bfce"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fget-dev-paths","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fget-dev-paths/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fget-dev-paths/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fget-dev-paths/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleclarson","download_url":"https://codeload.github.com/aleclarson/get-dev-paths/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233200420,"owners_count":18640370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["fs","node-modules","nodejs"],"created_at":"2024-10-12T04:05:47.342Z","updated_at":"2025-09-16T03:32:17.999Z","avatar_url":"https://github.com/aleclarson.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-dev-paths\n\nSearch `node_modules` for symlinks that resolve to a package outside any `node_modules` directories.\n\nReturns an array of symlink paths that match the following criteria:\n- they live in `node_modules`\n- their real paths are *not* in `node_modules`\n- they exist in `package.json` (but not `devDependencies`)\n\nEvery matched package also has its `node_modules` searched.\n\nScoped packages are supported.\n\n**New in v0.1.1:** Up to 50x faster!\n\n```js\nimport getDevPaths from 'get-dev-paths';\n\n// When called with one argument, an array is returned which contains symlink\n// paths that match the required criteria.\nlet paths = getDevPaths(process.cwd());\n\n// When you want an array of resolved symlinks, set `preserveLinks` to false:\npaths = getDevPaths(__dirname, {\n  preserveLinks: false,\n});\n\n// When the returned array is missing an expected package, you can use the\n// `onError` option to inspect why a symlink was skipped.\npaths = getDevPaths(__dirname, {\n  onError: console.error,\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Fget-dev-paths","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleclarson%2Fget-dev-paths","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Fget-dev-paths/lists"}