repo-exists

v2.0.0
Check if a GitHub repo exists
open-source github git name repo user repository existence exists and 2 more...

repo-exists Build Status

Check if a GitHub repo exists

See repo-exists-cli for the CLI version.

Usage

$ npm install --save repo-exists
var repoExists = require('repo-exists');

repoExists('h5bp/html5please', function (error, exists) {
    if (error) {
        throw error;
    }

    console.log(exists);
    //=> true
});

License

MIT © Arthur Verschaeve

npm i repo-exists

Metadata

  • MIT
  • >=0.10.0
  • Arthur Verschaeve
  • released 7/20/2015

Downloads

Maintainers