Socket
Book a DemoInstallSign in
Socket

github-remove-forks

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-remove-forks

Remove all forked repositories

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

github-remove-forks Build Status

Remove all forked repositories

Install

$ npm install --save github-remove-forks

Usage

const githubRemoveForks = require('github-remove-forks');

githubRemoveForks({token: '523ef691191'}).then(data => {
	console.log('Successfully remove all forked repositories');
});

API

githubRemoveForks(options)

Returns a promise for an array with the removed repositories.

options

token

Required
Type: string

Token to authenticate with. If you don't have a token you can generate a new one here.

CLI

$ npm install --global github-remove-forks
$ github-remove-forks --help

  Usage
    $ github-remove-forks --token 523ef69119

  Options
    -t, --token      Github token to authenticate with
    -v, --verbose    Show detailed output
  • github-remove-all-releases - Remove all releases of a GitHub repo

License

MIT © Kevin Mårtensson

Keywords

api

FAQs

Package last updated on 21 Oct 2015

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