{"id":24444261,"url":"https://github.com/ybrusentsov/explorer-opener","last_synced_at":"2025-03-14T03:46:13.070Z","repository":{"id":182419476,"uuid":"667850536","full_name":"ybrusentsov/explorer-opener","owner":"ybrusentsov","description":"📁 Open file explorer with Node.js","archived":false,"fork":false,"pushed_at":"2023-07-21T13:26:15.000Z","size":142,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T01:01:51.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ybrusentsov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-07-18T12:49:55.000Z","updated_at":"2023-07-20T22:29:51.000Z","dependencies_parsed_at":"2024-09-23T07:01:54.620Z","dependency_job_id":"ae5ce05d-66ee-4867-8012-078a01e0e32d","html_url":"https://github.com/ybrusentsov/explorer-opener","commit_stats":null,"previous_names":["goveo/open-explorer","goveo/explorer-opener","ybrusentsov/explorer-opener"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybrusentsov%2Fexplorer-opener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybrusentsov%2Fexplorer-opener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybrusentsov%2Fexplorer-opener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybrusentsov%2Fexplorer-opener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ybrusentsov","download_url":"https://codeload.github.com/ybrusentsov/explorer-opener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243521257,"owners_count":20304186,"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":[],"created_at":"2025-01-20T22:51:30.742Z","updated_at":"2025-03-14T03:46:13.039Z","avatar_url":"https://github.com/ybrusentsov.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# explorer-opener\n\n📁 Open file explorer with Node.js\n\n![npm-version](https://img.shields.io/npm/v/explorer-opener)\n![build-status-badge](https://img.shields.io/github/actions/workflow/status/goveo/explorer-opener/release.yml?branch=master)\n![install-size-badge](https://badgen.net/packagephobia/install/explorer-opener)\n[![codecov](https://codecov.io/gh/goveo/explorer-opener/branch/master/graph/badge.svg)](https://codecov.io/gh/goveo/explorer-opener)\n\n## Basic Usage\n\n```ts\nimport { openExplorer } from 'explorer-opener';\n\nopenExplorer('C:\\\\Windows\\\\System32')\n  .then(() =\u003e {\n    // handle successful open\n  })\n  .catch((error) =\u003e {\n    // handle error\n  });\n```\n\n⚠️ Rejected promise will be returned if provided path does not exist:\n\n```ts\nopenExplorer('/test/folder').catch((error) =\u003e {\n  // error: `File or directory \"/test/folder\" does not exist`\n});\n```\n\n## Default path values\n\nDefault values will be used if `path` is not specified:\n\n- Windows: `\"=\"`\n- Linux: `\"/\"`\n- MacOS: `\"/\"`\n\n## Supported platforms\n\n- Windows (`\"win32\"`)\n- Linux (`\"linux\"`)\n- MacOS (`\"darwin\"`)\n\n⚠️ Rejected promise will be returned if it's called from not supported platform:\n\n```ts\n// os: android\nopenExplorer().catch((error) =\u003e {\n  // error: `Can not detect \"android\" platform`\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fybrusentsov%2Fexplorer-opener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fybrusentsov%2Fexplorer-opener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fybrusentsov%2Fexplorer-opener/lists"}