repo-exists
v2.0.0
Published
Check if a GitHub repo exists
Downloads
25
Maintainers
Readme
repo-exists
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