github-remove-forks

2.0.0 • Public • Published

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

Related

License

MIT © Kevin Mårtensson

Package Sidebar

Install

npm i github-remove-forks

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • kevva