Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

is-public-repo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-public-repo

Check if GitHub repository is public

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

is-public-repo Build Status

Check if GitHub repository is public

Install

$ npm install is-public-repo

Usage

const isPublicRepo = require('is-public-repo');

await isPublicRepo('vadimdemedes/ink');
//=> true

API

isPublicRepo(url)

url

Type: string

Repository name (vadimdemedes/ink) or URL (https://github.com/vadimdemedes/ink).

License

MIT © Vadim Demedes

Keywords

github

FAQs

Package last updated on 06 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts