npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

github-remove-forks

2.0.0

@kevva

npmHomeRepoSnykSocket
Downloads:96
$ npm install github-remove-forks
DailyWeeklyMonthlyYearly

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

  • github-remove-all-releases - Remove all releases of a GitHub repo

License

MIT © Kevin Mårtensson