Best practices for scientific packages? #123158
-
I'm trying to figure out if there are any policies or best practices for scientific or academic projects on npmjs. I know that GitHub, for instance, now links with Orcid; Zenodo can also link directly with GitHub. Is there anything like this for npm? Are there any integrations to help citation and reference? Are there any best practice guides for new researchers looking to maximize the documentation and legs for their projects? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Hey there @RichardLitt I would suggest you do a full standards upload to Github and use npmjs more like a mirror. Because quite frankly, the means to display relevant information is much more elaborate on Github. The emphasis on Github is development and collaboration, npmjs is more about fetching. Viewing code is in beta over at npmjs... So, publish the package on npmjs under a very similar account name, use the same README (see below) and link to the Github. Over at Github you have two parts. One is your account. You ticked the boxes with a proper name and orcid. For the repository, orient yourself at other packages. An example here is huggingface's transformers library.
If you want to get people's expectation right, add a comment on whether you will maintain the repository. Many researchers do one publish and done. Meanwhile people go ahead and open PRs that are not reviewed. Again, you should see Github as where people should go for viewing. So this is also the link to put in the paper. Then, if they want to install, they can do Ps. Not written by AI :) |
Beta Was this translation helpful? Give feedback.
Hey there @RichardLitt
I would suggest you do a full standards upload to Github and use npmjs more like a mirror. Because quite frankly, the means to display relevant information is much more elaborate on Github. The emphasis on Github is development and collaboration, npmjs is more about fetching. Viewing code is in beta over at npmjs... So, publish the package on npmjs under a very similar account name, use the same README (see below) and link to the Github.
Over at Github you have two parts. One is your account. You ticked the boxes with a proper name and orcid. For the repository, orient yourself at other packages. An example here is huggingface's transformers library.