Publishing ReScript Libraries / Bindings
Via npm
Whenever you publish a ReScript package to npm, please follow the following guidelines:
Naming:
Make sure to give a descriptive package name. We usually use
rescript-[name-of-js-lib]for packages that bind to a specific JS library on npm.Use names that are self explanatory (no weird marketing terms / fantasy words if possible).
Metadata:
Add a proper
descriptionfield in yourpackage.jsonfileAdd
rescriptas a keyword in yourpackage.jsonfile
Our package index will pick up the newest npm packages two times a day, so it might take some time until your newly published package shows up.