{"id":20556648,"url":"https://github.com/clevertech/browse","last_synced_at":"2025-03-06T06:44:41.901Z","repository":{"id":145694233,"uuid":"111710031","full_name":"clevertech/browse","owner":"clevertech","description":"Command line utility to open links found in package.json","archived":false,"fork":false,"pushed_at":"2017-11-22T17:51:58.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-16T18:27:12.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/clevertech.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-22T16:51:36.000Z","updated_at":"2022-10-09T15:00:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"705152a9-550e-4349-acd0-1de9f8ba7b0d","html_url":"https://github.com/clevertech/browse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clevertech%2Fbrowse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clevertech%2Fbrowse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clevertech%2Fbrowse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clevertech%2Fbrowse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clevertech","download_url":"https://codeload.github.com/clevertech/browse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242163856,"owners_count":20082224,"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-11-16T03:31:11.864Z","updated_at":"2025-03-06T06:44:41.871Z","avatar_url":"https://github.com/clevertech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Browse\n\nCommand line utility to open links found in package.json\n\n## Usage\n\nPut in your `package.json` file a bunch of links with any tree strcuture you prefer. The leaves must be URLs.\n\n```json\n{\n  \"browse\": {\n    \"website\": \"https://example.com/\",\n    \"sentry\": \"https://sentry.example.com/example/project-name/\",\n    \"development\": {\n      \"server\": {\n        \"api\": \"https://api-dev.example.com/\",\n        \"frontend\": \"https://dev-dev.example.com/\"\n      },\n      \"sumologic\": {\n        \"api\": \"https://www.sumologic.com/whatever\",\n        \"cms\": \"https://www.sumologic.com/whatever\",\n        \"frontend\": \"https://www.sumologic.com/whatever\"\n      }\n    }\n  }\n}\n```\n\nNow you have a few options:\n\n### Using npx\n\nJust run this in the directory where your `package.json` file is:\n\n```\nnpx github:clevertech/browse [path]\n```\n\n### Installing locally\n\nInstall by using either:\n\n```\nnpm install @clevertech.biz/browse -D\nyarn install @clevertech.biz/browse -D\n```\n\nAdd a local script in your `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"browse\": \"browse\"\n  }\n}\n```\n\nThen run:\n\n```\nnpm/yarn run browse [path]\n```\n\n### Installing globally\n\n```\nnpm/yarn install @clevertech.biz/browse -g\n```\n\nThen just run\n\n```\nbrowse [path]\n```\n\n## Autocomplete\n\n`browse` works in two different ways. If you don't provide any command line argument it will print all available links and an autocomplete interface.\n\nIf you provide the path, it will open the link right away.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevertech%2Fbrowse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclevertech%2Fbrowse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevertech%2Fbrowse/lists"}