nice-registry / all-the-package-names

🔤 A list of all the public package names on npm. Updated daily.
242 stars 28 forks source link

organization namespaced packages do not appear to be sorted #18

Closed andykais closed 2 years ago

andykais commented 4 years ago

regular package names appear to be sorted by dependency count but organization namespaces appear to be out of order. E.g. these are the first 10 that appear in the list

 andrew  ~  all-the-package-names | grep '^@' | head -10
@yuliy/supermodule
@kwiatkk1/native-dns
@eknkc/s3cp
@inversion-of-control/modular-electron-example-vendors
@beisen/skeleton
@johnhooks/dollar
@insin/babel-plugin-react-transform
@tonypythoneer/status
@xyezir/string-replace-loader
@caseywebb/hypernasa
@jialu/nodeapp
@react-material/button
@react-material/fab
@jwaterfaucett/animation_frame
@typed/is-promise

e.g. @types/is-promise has 1 dependent while @yuliy/supermodule has 0.

zeke commented 4 years ago

Hey @andykais. Sorry for the late reply.

Unfortunately, the sorting by dependency count is based on very outdated counts, which are not automatically updated. The counts come from https://github.com/nice-registry/dependent-counts which has not been updated in several years 😬

If you're interested in contributing to resolve this, I'd be happy to work together on it.

zarianec commented 2 years ago

As @zeke mentioned before, the sorting logic depends on outdated package. We don't have any estimates on when we could fix it and it's not our priority at the moment.

Because of that, we decided to drop this feature in a new versions of all-the-package-names.

See https://github.com/nice-registry/all-the-package-names/pull/26