GithubHelp home page GithubHelp logo

Comments (6)

gr2m avatar gr2m commented on June 13, 2024 2

If bundle size is a concern, but you still want the convenience of the types for all REST API endpoints, I'd suggest to use @octokit/request: https://bundlephobia.com/package/@octokit/request

If that is not enough beause you need plugins, advanced authentication, or graphql, I'd use @octokit/core: https://bundlephobia.com/package/@octokit/[email protected]

Both are a lot smaller than octokit: https://bundlephobia.com/package/[email protected]

from octokit.js.

github-actions avatar github-actions commented on June 13, 2024

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

from octokit.js.

wolfy1339 avatar wolfy1339 commented on June 13, 2024

The purpose of this package is to bundle all best practices for Octokit modules.

If you want to lower your bundle size, I would use the packages separately, and only include the ones you actually use.

If you have any specific improvement points, feel free to do a follow up PR

from octokit.js.

lucioerlan avatar lucioerlan commented on June 13, 2024

@wolfy1339 , thank you for the feedback.

How do you install individual submodules nowadays? I tried to install just the auth-app and rest submodules, but everything else came along too.

I used:

npm i @octokit/auth-app
npm i @octokit/rest

and nothing has changed

from octokit.js.

wolfy1339 avatar wolfy1339 commented on June 13, 2024

The @octokit/rest package doesn't have any actual code, it is simply a wrapper of different plugins to make a best practices package for interacting with the GitHub API.

It is normal that there are many packages, as things are split into different plugins to enable extensibility.

from octokit.js.

lucioerlan avatar lucioerlan commented on June 13, 2024

tks @wolfy1339, I'll go ahead and close this issue. 🚀

from octokit.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.