Feature Request: Linking directly to files on the Code tab of a npm package #138597
Unanswered
Samuel-Therrien-Beslogic
asked this question in
npm
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is currently possible to link directly to the code tab of a package, for example: https://www.npmjs.com/package/npm?activeTab=code
I'd like it to be possible to link directly to a file, for example:
This would be quite useful to point directly to some file in discussions w/o having to hunt the source repo. Especially when the source itself may not be public (such is the case for our project https://www.npmjs.com/package/eslint-config-beslogic that is hosted on our company's private Azure DevOps).
As a bonus, relative links in the readme could also point to the code tab in those cases.
As a workaround, I've been linking to socket.dev mirror links. See the two linked tsconfig presets for example in https://www.npmjs.com/package/eslint-config-beslogic#user-content-base-tsconfigjson
Beta Was this translation helpful? Give feedback.
All reactions