Skip to content
This repository has been archived by the owner on Apr 28, 2019. It is now read-only.

Inserts direct repository links for modules used in source code on github

Notifications You must be signed in to change notification settings

klntsky/github-module-links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tl;dr

Use https://github.com/fiatjaf/module-linker instead.

github-module-links

This userscript inserts direct repository links for modules used in source code on github. Currently only JS & npm are supported.

Preview

Repo URLs are being fetched from npmjs registry. Relative imports are also linkified.

Check the source code for configurable options.

Installing

Follow the userscript installation instructions.

The file is located here.

TODO

  • DONE find more elegant way to listen for page content changes than setInterval with checker function (defeat that ugly AJAX navigation)
  • DONE add support for import something from 'some-module' notation
  • DONE replace system modules with links to their sources instead of security-holder module
  • process repository URLs more carefully (consider rare cases when repository.type is not git, etc.)
  • consider adding more programming languages and package registries
  • add links to the main files of the modules instead of the repositories

Links

About

Inserts direct repository links for modules used in source code on github

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages