directory icon indicating copy to clipboard operation
directory copied to clipboard

Group libraries by type

Open mtroskot opened this issue 4 years ago • 1 comments

Feature request

Currently we can only search libraries by name. If you search "sound", you get react-native-sound but you don't get react-native-track-player or @react-native-community/audio-toolkit . It would be easier to find libraries by type e.g. Storage, Audio, Video, UI, Navigation etc.

mtroskot avatar Oct 15 '20 08:10 mtroskot

Hi @mtroskot,

On the directory website we have been using not only the package name, but also the description and topics from the library package.json file:

  • https://github.com/react-native-community/directory/blob/master/util/search.js#L3-L11

As you can see in the react-native-track-player case, the package.json doesn't include keyword sound in description or topics:

  • https://github.com/DoubleSymmetry/react-native-track-player/blob/main/package.json#L39-L53

We do not have any control over the each library metadata, this is on the author side, also all of the packages listed in the directory are open source so you can always try to help the author and improve discoverability.

In your case the better keyword to use will be audio which seems to be more broad and included in several packages.

Simek avatar Nov 09 '21 20:11 Simek