The GitHub Linker is a Google Chrome Extension which links NPM, bower, Composer & Duo dependencies to their GitHub repository page. It also tries to resolve the require()
value in a .js
or .coffee
file.
// Packages
require('fs') => http://nodejs.org/api/fs.html
require('lodash') => https://github.com/lodash/lodash
// File system
require('./index.js') => https://github.com/user/repo/blob/master/index.js
require('./utils/math.js') => https://github.com/user/repo/blob/master/utils/math.js
// Duo
require('user/repo') => https://github.com/user/repo
require('user/repo@master') => https://github.com/user/tree/master
require('user/repo@master:/folder/file.js') => https://github.com/user/repo/blob/master/folder/file.js
Should you have any problems, please open up an issue.
Copyright (c) 2014 Stefan Buck. Licensed under the MIT license.