github-repo-exists

0.1.2 • Public • Published

github-repo-exists

Open Source Love Open Source Love PRs Welcome Travis

A tiny promise based library to check if a GitHub repository exists.

Usage

const repoExists = require('github-repo-exists');
repoExists('molnarmark/nimism.co').then(result => console.log(result));
//=> true
 
repoExists('molnarmark/does-not-exist').then(result => console.log(result));
//=> false

License

  • MIT

/github-repo-exists/

    Package Sidebar

    Install

    npm i github-repo-exists

    Weekly Downloads

    1

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    3.36 kB

    Total Files

    6

    Last publish

    Collaborators

    • molnarmark