Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@typescript/github-link

Package Overview
Dependencies
Maintainers
8
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typescript/github-link

Determine the Github permalink corresponding to a file (position) on disk

  • 0.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
188
increased by27.89%
Maintainers
8
Weekly downloads
 
Created
Source

For a file in a local clone of a Github repository, find the corresponding github.com permalink.

Usage

npx ghlink path/foo.ts

npx ghlink path/foo.ts line

npx ghlink path/foo.ts,line

npx ghlink path/foo.ts:line

A trailing character position (e.g. as in Node.js stack traces) will also be tolerated, but will not affect the output.

If the commit exists in multiple remotes, origin will be preferred. Failing that, one will be chosen at random.

Deployment

To publish a new version of this package, change the version in package.json and push to main.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Keywords

FAQs

Package last updated on 26 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc