Skip to content

Clearly Describe which SignalR npm Package to Use  #21618

Closed
@simonua

Description

@simonua

Is your feature request related to a problem? Please describe.

I was trying to determine the difference between @aspnet/signalr and @microsoft/signalr to use in my JavaScript / Angular application.

My challenges:

  • It was not clear to me which package to use. @aspnet/signalr has a higher weekly download but fairly stagnant download growth whereas @microsoft/signalr has a smaller weekly download but growing adoption.
  • Both packages have an almost identical README in the package as seen on npm.
  • Microsoft's documentation did not clearly call out which one to use.

I decided to pursue @microsoft/signalr as it was updated 15 days ago whereas @aspnet/signalr was updated a year ago.
image
image

My next steps in researching this path further:

  1. Starting on @microsoft/signalr, I clicked on SignalR Documentation.
  2. I clicked on Supported Platforms in the menu tree.
  3. I then clicked on the JavaScript Client header.

Informative, but a bit of a dead-end here as I still didn't know what version to use.

I then tried this:

  1. Starting on @microsoft/signalr again, I clicked on Homepage (property in package.json) on the right.
  2. In the Packages section, this was revealed:

image

Describe the solution you'd like

It would be helpful to point out which package to use more clearly on npm and more visibly in the Microsoft documentation.

Metadata

Metadata

Assignees

Labels

Servicing-approvedShiproom has approved the issuearea-signalrIncludes: SignalR clients and servers

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions