0.1.0 • Published 5 years ago

octokit-plugin-ghes-warnings v0.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

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.