-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature
There are a group of folks from https://e18e.dev that are going around the ecosystem and swapping out heavy libraries for lighter ones. It seems like it'd be great to switch some libraries to use nanotar
to reduce their dependencies. However, the two APIs are fairly different making it somewhat difficult to do it in a bunch of places and get people to quickly adopt nanotar
.
E.g. the first instance I went to look at was tar.extract({ file: tarball, cwd: to, strip: 1, onentry: filter_func })
and it's not super obvious how to swap it for nanotar.parseTar(data)
.
A few things that might help here to accelerate that:
node
condition in theexports
map ofpackage.json
that provides some node-specific functionality to do things like reading the contents given a filename- some migration docs from
tar
. If you think it doesn't make sense to add here, a page could be added in https://github.com/es-tooling/module-replacements/tree/main/docs/modules with some details
Additional information
- Would you be willing to help implement this feature?
pi0, talentlessguy, jocdiazm, sandros94 and Rel1cx
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request