Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

repo-exists

Check if a GitHub repo exists

See repo-exists-cli for the CLI version.

Usage

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

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

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

License

MIT © Arthur Verschaeve

About

Check if a GitHub repo exists

Resources

License

Packages

No packages published