Skip to content
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.

swinton/octokit-plugin-ghes-warnings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

octokit-plugin-ghes-warnings

Octokit plugin that will generate warnings when accessing GitHub REST APIs that are not available on a given GitHub Enterprise Server version

Installation

npm i octokit-plugin-ghes-warnings

Usage

// Configure Octokit to use the plugin
const Octokit = require('@octokit/rest')
  .plugin([
    require('octokit-plugin-ghes-warnings'),
  ])

Demo

See the included demo.js for a demonstration of the plugin.

About

Octokit plugin that will generate warnings when accessing GitHub REST APIs that are not available on a given GitHub Enterprise Server version

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published