{"id":13494829,"url":"https://github.com/pwnall/node-open","last_synced_at":"2025-04-05T06:10:10.141Z","repository":{"id":3526647,"uuid":"4585800","full_name":"pwnall/node-open","owner":"pwnall","description":"open a file or uri with the users preferred application (browser, editor, etc), cross platform","archived":false,"fork":false,"pushed_at":"2021-02-12T16:15:48.000Z","size":385,"stargazers_count":560,"open_issues_count":44,"forks_count":57,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-29T05:11:17.386Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pwnall.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}},"created_at":"2012-06-07T13:55:47.000Z","updated_at":"2025-02-11T21:31:28.000Z","dependencies_parsed_at":"2022-08-20T09:40:34.889Z","dependency_job_id":null,"html_url":"https://github.com/pwnall/node-open","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwnall%2Fnode-open","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwnall%2Fnode-open/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwnall%2Fnode-open/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwnall%2Fnode-open/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwnall","download_url":"https://codeload.github.com/pwnall/node-open/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294541,"owners_count":20915340,"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":"2024-07-31T19:01:28.610Z","updated_at":"2025-04-05T06:10:10.120Z","avatar_url":"https://github.com/pwnall.png","language":"JavaScript","readme":"# open\n\nOpen a file or url in the user's preferred application.\n\n# Usage\n\n```javascript\nvar open = require(\"open\");\nopen(\"http://www.google.com\");\n```\n\n`open` takes an optional argument specifying the program to be used to open the\nfile or URL.\n\n```javascript\nopen(\"http://www.google.com\", \"firefox\");\n```\n\n# Installation\n\n    npm install open\n\n# How it works\n\n- on `win32` uses `start`\n- on `darwin` uses `open`\n- otherwise uses the `xdg-open` script from [freedesktop.org](http://portland.freedesktop.org/xdg-utils-1.0/xdg-open.html)\n\n# Warning\n\nThe same care should be taken when calling open as if you were calling\n[child_process.exec](http://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback)\ndirectly. If it is an executable it will run in a new shell.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwnall%2Fnode-open","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwnall%2Fnode-open","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwnall%2Fnode-open/lists"}