octokit-pagination-methods
Legacy Octokit pagination methods from v15
Several pagination methods such as octokit.hasNextPage()
and octokit.getNextPage()
have been removed from @octokit/request
in v16.0.0 in favor of octokit.paginate()
. This plugin brings back the methods to ease the upgrade to v16.
Usage
const Octokit = const octokit = octokitissues
Credit
These methods have originally been created for node-github
by @mikedeboer
while working at Cloud9 IDE, Inc. It was adopted and renamed by GitHub in 2017.