0.3.0 • Published 9 years ago

github-url-raw v0.3.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

github-url-raw

return a given github raw content of a certain github url.

Example

var ghr = require('github-url-raw');
ghr('https://github.com/zeke/github-url-to-object/blob/master/index.js')

will become

{ 
  user: 'zeke',
  repo: 'github-url-to-object',
  branch: 'master/index',
  tarball_url: 'https://api.github.com/repos/zeke/github-url-to-object/tarball/master/index',
  https_url: 'https://github.com/zeke/github-url-to-object/tree/master/index',
  travis_url: 'https://travis-ci.org/zeke/github-url-to-object?branch=master/index',
  api_url: 'https://api.github.com/repos/zeke/github-url-to-object',
  raw: 'https://raw.githubusercontent.com/zeke/github-url-to-object/master/index.js'
}

License

MIT

0.3.0

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago