octokit-plugin-ghes-warnings

0.1.0 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i octokit-plugin-ghes-warnings

Weekly Downloads

2

Version

0.1.0

License

ISC

Unpacked Size

246 kB

Total Files

7

Last publish

Collaborators

  • swinton