Please reduce the published NPM package's size

Open
#3,926 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
node.js, typescript

Research direction

Start by reproducing the reported size breakdown with du . --apparent-size -h | sort -h, focusing on the published NPM package and the nearly 200M attributed to googleapis. Trace how that package is included in the published client library, then verify that the resulting package is smaller without losing the requested API access.

Written by the indexing model from the issue text.

Description

size: l type: feature request

Using du . --apparent-size -h | sort -h here is the result of what I see:

Image

Yes, azure and exceljs also take a lot of space. But googleapis, that's truly bothering. Almost 200M?

Please reduce this size.

Dominant language
TypeScript
Stars
12.3k
Forks
2k
Avg merge
3d 10h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from googleapis/google-api-nodejs-client

All issues in googleapis/google-api-nodejs-client

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.