octokit.js
graphql.js
octokit.js | graphql.js | |
---|---|---|
8 | 5 | |
6,725 | 449 | |
0.8% | 1.6% | |
8.6 | 8.5 | |
9 days ago | 3 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
octokit.js
-
Creating an Automated Profile README using Nodejs and GitHub Actions
You can fetch different kinds of data with GitHub's API. There are two options: use the API directly or the Octokit.js library (this is the route GitHub recommends). I decided to use the API directly since the Octokit.js library included extra stuff I wouldn't need, which is an overkill for this use case.
- GitHub Octokit: replace TS with plain JavaScript and d.ts for faster dev
-
AdaGPT: My Learnings While Building a GitHub Action
The package @actions/github provides a hydrated Octokit.js client. Octokit.js is the SDK of GitHub and contains several subpackages like @octokit/rest and @octokit/graphql to interact with the REST or GraphQL API.
-
My Hacktoberfest Experience For The Third Time: 2022 Edition
While sharing my project on Twitter, I got to know of Gregor Martynus, the maintainer of the JavaScript Octokit – GitHub's official JavaScript SDK and his project Octoherd. He tweeted a reply that it will be nice to have a GUI like Octokit-lite for Octoherd, and that sparked an inspiration for me ✨
-
Help with Github API and Github GraphQL API
I've also added an example using Octokit.js, GitHub's JS/TS client to the API.
- Typescript beginner question
-
Deploy a GitHub Application to Cloudflare Workers
In order for the project to be shipped as a service function, the node environment can not be used in any of the production code. Reviewing Probot source, one might see a dead end in that it uses require("dotenv").config(). However, its underlying framework, OctoKit does not come with any opinionated code in this regard.
-
NestJS Octokit Module
Hey, I've been using Octokit in NestJS for interacting with GitHub's API and today I moved it out into a separate NPM package.
graphql.js
-
AdaGPT: My Learnings While Building a GitHub Action
The package @actions/github provides a hydrated Octokit.js client. Octokit.js is the SDK of GitHub and contains several subpackages like @octokit/rest and @octokit/graphql to interact with the REST or GraphQL API.
-
How to Get All Issues Linked to a Pull Request
The Github API provides a lot of fluidity in being able to access and mutate data within git programmatically. Github provides developers with both a traditional REST API and a more modern GraphQL API to interact with. However because of the increased flexibility of GraphQL APIs, there is some functionality that is available in GraphQL that is not available in REST.
-
Building The Gatsby Changelog Prototype
I plan to build a Gatsby site, hosted on Gatsby Cloud that will source markdown files from the Gatsby GitHub Account docs folder. The markdown files within the release-notes will be sourced and then rendered to a single page. I'll be using @octokit/graphql and a few of Gatsby's data handling methods: sourceNodes and createNode.
-
Created CLI Tool that Creates/Remove GitHub Labels
If you don't need the Plugin API then using @octokit/request or @octokit/graphql directly is a good alternative.
-
Implementing 429 retries and throttling for API rate-limits
Some companies provide an external module like GitHub's plugin-throttling package for their node clients. But often it's up to you to implement.
What are some alternatives?
probot - 🤖 A framework for building GitHub Apps to automate and improve your workflow
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
nestjs-octokit - Octokit module for NestJS
dropbox-sdk-js - The Official Dropbox API V2 SDK for Javascript
smee-client - 🔴 Receives payloads then sends them to your local server
rest.js - GitHub REST API client for JavaScript
cloudflare-worker-github-app-example - A Cloudflare Worker + GitHub App Example
remark-rehype - plugin that turns markdown into HTML to support rehype
hello-world-javascript-action - A template to demonstrate how to build a JavaScript action.
AdaGPT - @AdaGPT: AI support for Issues and Pull Requests right at your fingertips!
miniflare - 🔥 Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.