Gathering detailed insights and metrics for @octokit/plugin-enterprise-rest
Gathering detailed insights and metrics for @octokit/plugin-enterprise-rest
Gathering detailed insights and metrics for @octokit/plugin-enterprise-rest
Gathering detailed insights and metrics for @octokit/plugin-enterprise-rest
Octokit plugin for GitHub Enterprise REST APIs
npm install @octokit/plugin-enterprise-rest
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
19 Stars
850 Commits
13 Forks
8 Watching
12 Branches
18 Contributors
Updated on 05 Nov 2024
TypeScript (97.35%)
JavaScript (2.65%)
Cumulative downloads
Total Downloads
Last day
-10%
236,318
Compared to previous day
Last week
3.9%
1,462,692
Compared to previous week
Last month
20.8%
5,775,904
Compared to previous month
Last year
-8.1%
58,833,425
Compared to previous year
Octokit plugin for GitHub Enterprise Server REST APIs
@octokit/rest
and the @octokit/plugin-rest-endpoint-methods
plugin it's using internally do not include methods for Enterprise Administration as they do not exist on https://api.github.com. This plugin adds endpoint methods for every GitHub Enterprise Server version that is currently supported.
Besides the admin-specific endpoints, there are differences between api.github.com
and each GitHub Enterprise Server version. Instead of loading @octokit/plugin-rest-endpoint-methods
you can optionally add all endpoint methods for each GitHub Enterprise Server version, including the admin endpoints.
Browsers |
Load
|
---|---|
Node |
Install with
|
1const OctokitEnterprise36 = Octokit.plugin(enterpriseServer36Admin);
2const octokit = new OctokitEnterprise36({
3 auth: "secret123",
4 baseUrl: "https://github.acme-inc.com/api/v3",
5});
6
7octokit.enterpriseAdmin.createUser({
8 username: "octocat",
9 email: "octocat@acme-inc.com",
10});
The list of currently exported plugins are
enterpriseServer34Admin
enterpriseServer34
enterpriseServer35Admin
enterpriseServer35
enterpriseServer36Admin
enterpriseServer36
The route definitions for the currently supported GitHub Enterprise versions are built automatically from @octokit/openapi
. Each time there is a new @octokit/openapi
release, the .github/workflows/update.yml
workflow is triggered. If an update is found, a pull request is created.
No vulnerabilities found.
Reason
18 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
all changesets reviewed
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
SAST tool is run on all commits
Details
Reason
security policy file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More