kevva / kevva/squeak

Can we get rid of `lpad-align`?

Open
#5 1 comment 7 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
54
Forks
4
PR merge metrics
No merged PRs in 30d

Description

the `lpad-align` dependency adds a ton to my yarn.lock:
- `lpad-align`,
- `longest`,
- `meow`,
- all of `meow`'s dependencies.

It feels like it could be done vanilla, or at least replaced by a lib such as `lpad`, which adds way less dependencies.

One last options could be to avoid the `cli` part of `lpad-align` (or keep it in a separated npm utility) so that it does not load `meow` for anyone.

What do you think ? I can do the vanilla or lib change bit. The last options however, would be for you to do @kevva.

Best,
Ulysse

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by searching the repository for `lpad-align` and inspecting its entry in `yarn.lock`. Compare the vanilla and `lpad` alternatives described in the issue, then verify that the dependency is removed or replaced without loading the CLI dependencies and that the resulting lockfile is smaller.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.