{"versions":{"1.0.0":{"name":"extract-github","version":"1.0.0","description":"Extract the Github project / repository URL from a given object","main":"index.js","scripts":{"test":"mocha $(find test -name '*.test.js')"},"repository":{"type":"git","url":"git+https://github.com/3rd-Eden/extract-github.git"},"keywords":["extract","github","url","repository","project","username","repo"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/extract-github/issues"},"homepage":"https://github.com/3rd-Eden/extract-github","devDependencies":{"assume":"1.3.x","mocha":"2.3.x","pre-commit":"1.1.x"},"gitHead":"5ef71d9f107f80bb102749329a712292f1c64728","_id":"extract-github@1.0.0","_shasum":"b0a3f2392029309862132bd62cf925ab6a5200ce","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"anonymous","email":"npm@3rd-Eden.com"},"maintainers":[{"name":"anonymous","email":"npm@3rd-Eden.com"},{"name":"anonymous","email":"charlie.robbins@gmail.com"},{"name":"anonymous","email":"jcrugzz@gmail.com"},{"name":"anonymous","email":"npm@3rd-Eden.com"}],"dist":{"shasum":"b0a3f2392029309862132bd62cf925ab6a5200ce","size":3696,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/extract-github/-/extract-github-1.0.0.tgz","integrity":"sha512-bW+CfFRTnH6lZ1LBTalb5Nxtca1jAcFSqh069m97e5MdfRVKKQsfJjcknPgvbfKOYoiOmv82gRoxfOFZmMAiEw=="},"directories":{},"publish_time":1447233643802,"_hasShrinkwrap":false,"_cnpm_publish_time":1447233643802,"_cnpmcore_publish_time":"2021-12-16T21:22:58.950Z","contributors":[]},"0.0.5":{"name":"extract-github","version":"0.0.5","description":"Extract the Github project / repository URL from a given object","main":"index.js","scripts":{"test":"mocha $(find test -name '*.test.js')"},"repository":{"type":"git","url":"https://github.com/3rd-Eden/extract-github"},"keywords":["extract","github","url","repository","project","username","repo"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/extract-github/issues"},"homepage":"https://github.com/3rd-Eden/extract-github","devDependencies":{"mocha":"1.17.x","chai":"1.9.x","pre-commit":"0.0.x"},"_id":"extract-github@0.0.5","_shasum":"f542536db8c19b983a3bec9db96d2ef2a5ff1a86","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"anonymous","email":"info@3rd-Eden.com"},"maintainers":[{"name":"anonymous","email":"npm@3rd-Eden.com"},{"name":"anonymous","email":"charlie.robbins@gmail.com"},{"name":"anonymous","email":"jcrugzz@gmail.com"},{"name":"anonymous","email":"npm@3rd-Eden.com"}],"dist":{"shasum":"f542536db8c19b983a3bec9db96d2ef2a5ff1a86","size":3615,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/extract-github/-/extract-github-0.0.5.tgz","integrity":"sha512-CrHdEES7mKSJV/jiUFF5BDpdDDPGzwbiBDCVef/q8eWP4mmYL5vgUdpwfVr3OhEYpGkGRNwsUx2Lgl/zoWzL1w=="},"directories":{},"publish_time":1404056876706,"_hasShrinkwrap":false,"_cnpm_publish_time":1404056876706,"_cnpmcore_publish_time":"2021-12-16T21:22:59.153Z","contributors":[]},"0.0.3":{"name":"extract-github","version":"0.0.3","description":"Extract the Github project / repository URL from a given object","main":"index.js","scripts":{"test":"mocha $(find test -name '*.test.js')"},"repository":{"type":"git","url":"https://github.com/3rd-Eden/extract-github"},"keywords":["extract","github","url","repository","project","username","repo"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/extract-github/issues"},"homepage":"https://github.com/3rd-Eden/extract-github","devDependencies":{"mocha":"1.17.x","chai":"1.9.x","pre-commit":"0.0.x"},"_id":"extract-github@0.0.3","dist":{"shasum":"5971b1def6313d5081af768cffbb07ab314f0492","size":3114,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/extract-github/-/extract-github-0.0.3.tgz","integrity":"sha512-EPSw7XjtrVJa/L+TeHJlFXxo8X6k5g9xcVrFNnad+1XrFLl9FI3B6bgQiL7zmXUKZHAclY36BKuxd3Lt3hnIaw=="},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"anonymous","email":"info@3rd-Eden.com"},"maintainers":[{"name":"anonymous","email":"npm@3rd-Eden.com"},{"name":"anonymous","email":"charlie.robbins@gmail.com"},{"name":"anonymous","email":"jcrugzz@gmail.com"},{"name":"anonymous","email":"npm@3rd-Eden.com"}],"directories":{},"publish_time":1393850464750,"_hasShrinkwrap":false,"_cnpm_publish_time":1393850464750,"_cnpmcore_publish_time":"2021-12-16T21:22:59.426Z","contributors":[]},"0.0.2":{"name":"extract-github","version":"0.0.2","description":"Extract the Github project / repository URL from a given object","main":"index.js","scripts":{"test":"mocha $(find test -name '*.test.js')"},"repository":{"type":"git","url":"https://github.com/3rd-Eden/extract-github"},"keywords":["extract","github","url","repository","project","username","repo"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/extract-github/issues"},"homepage":"https://github.com/3rd-Eden/extract-github","devDependencies":{"mocha":"~1.17.1","chai":"~1.9.0","pre-commit":"0.0.4"},"_id":"extract-github@0.0.2","dist":{"shasum":"9a3ad397c21c880dd4526e42b98e6a0f3a24ed60","size":2914,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/extract-github/-/extract-github-0.0.2.tgz","integrity":"sha512-uKg0FUF1O/ajJhgxjv8TtLpcp94kYQ/Ra0itAcum1XOGCM7OBbuFHcSnRMUKUj80/NY3edM9rNl8JxIDsYX/vA=="},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"anonymous","email":"info@3rd-Eden.com"},"maintainers":[{"name":"anonymous","email":"npm@3rd-Eden.com"},{"name":"anonymous","email":"charlie.robbins@gmail.com"},{"name":"anonymous","email":"jcrugzz@gmail.com"},{"name":"anonymous","email":"npm@3rd-Eden.com"}],"directories":{},"publish_time":1393410452429,"_hasShrinkwrap":false,"_cnpm_publish_time":1393410452429,"_cnpmcore_publish_time":"2021-12-16T21:22:59.598Z","contributors":[]},"0.0.1":{"name":"extract-github","version":"0.0.1","description":"Extract the Github project / repository URL from a given object","main":"index.js","scripts":{"test":"mocha $(find test -name '*.test.js')"},"repository":{"type":"git","url":"https://github.com/3rd-Eden/extract-github"},"keywords":["extract","github","url","repository","project","username","repo"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/extract-github/issues"},"homepage":"https://github.com/3rd-Eden/extract-github","devDependencies":{"mocha":"~1.17.1","chai":"~1.9.0","pre-commit":"0.0.4"},"_id":"extract-github@0.0.1","dist":{"shasum":"0fca6e9cc7351d70316d8b00ec565d6bc3df05c3","size":2858,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/extract-github/-/extract-github-0.0.1.tgz","integrity":"sha512-bImm4gd3tfBw0RPde/RBLjMeRTiKXANyztJRsRCjq8JXbtcvAXhleDLixeJbamn8YaWpx3WwnrfZTgRaMg8Lkw=="},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"anonymous","email":"info@3rd-Eden.com"},"maintainers":[{"name":"anonymous","email":"npm@3rd-Eden.com"},{"name":"anonymous","email":"charlie.robbins@gmail.com"},{"name":"anonymous","email":"jcrugzz@gmail.com"},{"name":"anonymous","email":"npm@3rd-Eden.com"}],"directories":{},"publish_time":1392886211053,"_hasShrinkwrap":false,"_cnpm_publish_time":1392886211053,"_cnpmcore_publish_time":"2021-12-16T21:22:59.815Z","contributors":[]}},"dist-tags":{"latest":"1.0.0"},"name":"extract-github","time":{"created":"2022-01-27T01:58:36.441Z","modified":"2025-12-03T06:26:02.704Z","1.0.0":"2015-11-11T09:20:43.802Z","0.0.5":"2014-06-29T15:47:56.706Z","0.0.3":"2014-03-03T12:41:04.750Z","0.0.2":"2014-02-26T10:27:32.429Z","0.0.1":"2014-02-20T08:50:11.053Z"},"readme":"# extract-github\n\n[![Build Status](https://travis-ci.org/3rd-Eden/extract-github.png)](https://travis-ci.org/3rd-Eden/extract-github)\n\nExtract a valid github URL from a given object. We make the assumption that the\ngiven object follows a `package.json` format as used by npm.\n\n## Installation\n\nThis module is released in the npm registry as `extract-github` and can therefor\nbe installed using:\n\n```\nnpm install --save extract-github\n```\n\n## Usage\n\nThis module was written to only do specific task and do that task well, and that\nis extracting github information. We therefor export as a single function:\n\n```js\n'use strict';\n\nvar extract = require('extract-github');\n```\n\nOnce you've required the module you can feed it the contents of a package.json\nto extract to github information.\n\n```js\nvar github = extract(require('./package.json'));\n```\n\nThe `github` variable should now contain an object with a `user` and `repo`\nproperty which can be re-used to create a new github URL. In addition to parsing\npackage.json's it also supports extracting github information out of `README` it\ncan do this by extracting Travis-CI badges or just plain ol matching github URL\nfrom the content.\n\n```js\nvar github = extract(require('fs').readFileSync(__dirname +'/README.md'));\n```\n\n## License\n\nMIT","users":{}}