repo-exists

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i repo-exists

Weekly Downloads

3

Version

2.0.0

License

MIT

Last publish

Collaborators

  • arthurvr