documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Nothing should link to `npx` package on www.npmjs.com

Open mrienstra opened this issue 1 year ago • 0 comments

I just opened https://github.com/npm/cli/pull/5742 and https://github.com/npm/documentation/pull/277.

Searching Google for "npx" brings up: https://www.npmjs.com/package/npx ... as the first result. The "best link", the npx CLI command entry in the npm docs isn't in the first page of results (it's the 1st result on the 2nd page).

https://www.npmjs.com/package/npx is a bit cryptic. Following the link to GitHub goes to: https://github.com/npm/npx ... which shows:

This repository has been archived by the owner. It is now read-only.

... up top. Scrolling down reveals:

⚠️ DEPRECATED: This project has been deprecated - npx is now part of the npm cli

... that leads to: https://github.com/npm/cli The sidebar gives the link to: https://docs.npmjs.com/cli/ ... and then you have to search for "npx" (or drill down into "CLI Commands"), and then finally, you get to: https://docs.npmjs.com/cli/commands/npx

I'm not sure what can be done to improve this user experience, any ideas?

mrienstra avatar Oct 25 '22 08:10 mrienstra