transloadit / transloadit/node-sdk
Reduce dependencies
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 73
- Forks
- 26
- Avg merge
- 10h 51m
- Merged PRs (30d)
- 18
Description
@transloadit/node pulls in ~189 dependencies which feels like a lot, particularly as we mostly just use it to call the createAssembly function. It's not causing any tangible issues for us, I just wanted log an issue on the oft-chance there were any quick / easy wins.
Dependencies can be visualized with this tool: https://node-modules.dev/grid/depth#install=@transloadit/node
It seems migrating from the older got to either native fetch or the recommended ky (fetch wrapper made by the same people as got) could be a nice first stab.
Thank you for your work, v4 has been going great! Happy Transloadit customers over here 👍
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the dependency graph at node-modules.dev and inspect how @transloadit/node currently uses got when calling createAssembly. Compare native fetch and ky as possible replacements, then verify that the dependency count is reduced without changing the SDK's createAssembly behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100