Github module links

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

作者
klntsky
今日安裝
0
安裝總數
37
評價
0 0 0
版本
1.0.2
建立日期
2017-12-18
更新日期
2018-04-22
尺寸
7.5 KB
授權條款
MIT
腳本執行於

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

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址