You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i'm a little concerned about size of this package and number of dependencies that it requires to run,
this package has 66 dependencies and weights 175kb with all its dependencies, as a comparison yargs has 16 dependencies and weights 76kb,
most of code in this package actually come from reading and normalizing package.json and that should be a trivial task as this package uses optionally 2 fields description and version.
my suggestion is to replace normalize-package-data and read-pkg-up with find-up and simple if condition.
this change should allow to reduce number of dependencies by half and reduce size by 70%
The text was updated successfully, but these errors were encountered:
I guess we could remove it, but it would be a breaking change as we expose the package as a .pkg object. We would also have to document that it's not normalized and how the user needs to manually normalize it if they want to access properties.
Hello, i'm a little concerned about size of this package and number of dependencies that it requires to run,
this package has 66 dependencies and weights 175kb with all its dependencies, as a comparison
yargs
has 16 dependencies and weights 76kb,most of code in this package actually come from reading and normalizing
package.json
and that should be a trivial task as this package uses optionally 2 fields description and version.my suggestion is to replace
normalize-package-data
andread-pkg-up
withfind-up
and simple if condition.this change should allow to reduce number of dependencies by half and reduce size by 70%
The text was updated successfully, but these errors were encountered: