{"id":15680563,"url":"https://github.com/tjx666/view-github-repository","last_synced_at":"2025-05-07T11:15:50.450Z","repository":{"id":42963469,"uuid":"225639153","full_name":"tjx666/view-github-repository","owner":"tjx666","description":"Open npm package GitHub repository straight from VScode","archived":false,"fork":false,"pushed_at":"2022-07-20T01:35:30.000Z","size":4062,"stargazers_count":11,"open_issues_count":10,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T11:15:45.055Z","etag":null,"topics":["github","repository","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=YuTengjing.view-github-repository","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/tjx666.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}},"created_at":"2019-12-03T14:25:23.000Z","updated_at":"2023-01-22T04:12:05.000Z","dependencies_parsed_at":"2022-09-06T16:11:41.513Z","dependency_job_id":null,"html_url":"https://github.com/tjx666/view-github-repository","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/tjx666%2Fview-github-repository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjx666%2Fview-github-repository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjx666%2Fview-github-repository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjx666%2Fview-github-repository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tjx666","download_url":"https://codeload.github.com/tjx666/view-github-repository/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252865659,"owners_count":21816309,"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":["github","repository","vscode","vscode-extension"],"created_at":"2024-10-03T16:42:55.486Z","updated_at":"2025-05-07T11:15:50.393Z","avatar_url":"https://github.com/tjx666.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n\n# View GitHub Repository\n\nOpen npm package GitHub repository straight from VSCode.\n\n[![Version](https://vsmarketplacebadge.apphb.com/version-short/yutengjing.view-github-repository.svg)](https://marketplace.visualstudio.com/items?itemName=yutengjing.view-github-repository) [![Installs](https://vsmarketplacebadge.apphb.com/installs-short/yutengjing.view-github-repository.svg)](https://marketplace.visualstudio.com/items?itemName=yutengjing.view-github-repository) [![Downloads](https://vsmarketplacebadge.apphb.com/downloads-short/yutengjing.view-github-repository.svg)](https://marketplace.visualstudio.com/items?itemName=yutengjing.view-github-repository) [![Rating Star](https://vsmarketplacebadge.apphb.com/rating-star/yutengjing.view-github-repository.svg)](https://marketplace.visualstudio.com/items?itemName=yutengjing.view-github-repository) [![Trending Monthly](https://vsmarketplacebadge.apphb.com/trending-monthly/yutengjing.view-github-repository.svg)](https://marketplace.visualstudio.com/items?itemName=yutengjing.view-github-repository) [![Percentage of issues still open](https://isitmaintained.com/badge/open/tjx666/view-github-repository.svg)](http://isitmaintained.com/project/tjx666/view-github-repository')\n\n[![Build Status](https://travis-ci.org/tjx666/view-github-repository.svg?branch=master)](https://travis-ci.org/tjx666/view-github-repository) [![Known Vulnerabilities](https://snyk.io/test/github/tjx666/view-github-repository/badge.svg?targetFile=package.json)](https://snyk.io/test/github/tjx666/view-github-repository?targetFile=package.json)\n\n\u003c/div\u003e\n\n## Features\n\nThis extension provides two commands:\n\n1. `view github repository`\n2. `view github repository (package.json)`\n\n## Usage\n\n1. navigate to the file where you import/require the npm packages. Support the following three forms of import statement:\n\n   ```javascript\n   const path = require('path');\n   import webpack from 'webpack';\n   export * from 'lodash';\n   ```\n\n2. use the shortcut \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ep\u003c/kbd\u003e(Windows) or \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ep\u003c/kbd\u003e(macOS) to expand command panel, select one of commands you need listed above.\n\n![view github repository of active editor](https://github.com/tjx666/view-github-repository/blob/master/images/usage.gif?raw=true)\n\n## Details\n\n### view github repository\n\nWith this command, you can open the github repository of npm packages which imported/required in current active editor.\n\nSupport languages:\n\n- javascript(.js)\n- javascriptreact(.jsx)\n- vue(.vue)\n- typescript(.ts)\n- typescriptreact(.tsx)\n\nIf you select a node builtIn module, the extension will open the nodejs official document of selected module.\n\nIf current active editor's fileName is just `package.json`, this extension will list all the dependencies and devDependencies modules.\n\n### view github repository (package.json)\n\nThis command will load all the module names from package.json exists in workspace root path.\n\n### TODO\n\n- [ ] import statement is multiple lines\n- [ ] module alias\n\n## 🧡 Backers\n\nThanks to `JiangShiqi` for designing the extension's logo.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjx666%2Fview-github-repository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftjx666%2Fview-github-repository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjx666%2Fview-github-repository/lists"}