Skip to content

Empty results when searching for scoped packages with small name length #89

Description

@segrey

Currently, search for a scoped package with name pattern containing less than 4 characters finds nothing.

Actual
https://api.npms.io/v2/search?q=mat+scope:angular yields empty search results:

{"total":0,"results":[]}

While https://api.npms.io/v2/search?q=mate+scope:angular finds something:

{"total":4,"results":[...]

Expected
https://api.npms.io/v2/search?q=mat+scope:angular should also yield non-empty results.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions